[7731] Some code cleanups, warrning fixes. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-04-29 00:31:03 -05:00
1 parent de11b9e901
commit 295b634ca6
26 files changed
+108 -132

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ void Channel::Leave(uint64 p, bool send)
void Channel::KickOrBan(uint64 good, const char *badname, bool ban)
{
uint32 sec = 0;
AccountTypes sec = SEC_PLAYER;
Player *gplr = objmgr.GetPlayer(good);
if(gplr)
sec = gplr->GetSession()->GetSecurity();