mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7187] Replace some tabs in sources.
This commit is contained in:
parent
8ab2de55c9
commit
de277ad917
3 changed files with 11 additions and 11 deletions
|
|
@ -33,15 +33,15 @@ void WorldSession::HandleCalendarGetCalendar(WorldPacket &recv_data)
|
||||||
|
|
||||||
time_t cur_time = time(NULL);
|
time_t cur_time = time(NULL);
|
||||||
|
|
||||||
WorldPacket data(SMSG_CALENDAR_SEND_CALENDAR,4+4*0+4+4*0+4+4);
|
WorldPacket data(SMSG_CALENDAR_SEND_CALENDAR,4+4*0+4+4*0+4+4);
|
||||||
|
|
||||||
// TODO: calendar invite event output
|
// TODO: calendar invite event output
|
||||||
data << (uint32) 0; //invite node count
|
data << (uint32) 0; //invite node count
|
||||||
// TODO: calendar event output
|
// TODO: calendar event output
|
||||||
data << (uint32) 0; //event count
|
data << (uint32) 0; //event count
|
||||||
|
|
||||||
data << (uint32) 0; //wtf??
|
data << (uint32) 0; //wtf??
|
||||||
data << (uint32) secsToTimeBitFields(cur_time); // current time
|
data << (uint32) secsToTimeBitFields(cur_time); // current time
|
||||||
|
|
||||||
uint32 counter = 0;
|
uint32 counter = 0;
|
||||||
size_t p_counter = data.wpos();
|
size_t p_counter = data.wpos();
|
||||||
|
|
@ -64,10 +64,10 @@ void WorldSession::HandleCalendarGetCalendar(WorldPacket &recv_data)
|
||||||
}
|
}
|
||||||
data.put<uint32>(p_counter,counter);
|
data.put<uint32>(p_counter,counter);
|
||||||
|
|
||||||
data << (uint32) 1135753200; //wtf?? (28.12.2005 12:00)
|
data << (uint32) 1135753200; //wtf?? (28.12.2005 12:00)
|
||||||
sLog.outDebug("Sending calendar");
|
sLog.outDebug("Sending calendar");
|
||||||
//data.hexlike();
|
//data.hexlike();
|
||||||
SendPacket(&data);
|
SendPacket(&data);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldSession::HandleCalendarGetEvent(WorldPacket &recv_data)
|
void WorldSession::HandleCalendarGetEvent(WorldPacket &recv_data)
|
||||||
|
|
|
||||||
|
|
@ -1705,7 +1705,7 @@ bool ChatHandler::HandleKickPlayerCommand(const char *args)
|
||||||
}
|
}
|
||||||
|
|
||||||
// check online security
|
// check online security
|
||||||
Player* player = ObjectAccessor::Instance().FindPlayerByName(name.c_str());
|
Player* player = ObjectAccessor::Instance().FindPlayerByName(name.c_str());
|
||||||
if (player && HasLowerSecurity(player, 0))
|
if (player && HasLowerSecurity(player, 0))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7186"
|
#define REVISION_NR "7187"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue