[7731] Some code cleanups, warrning fixes. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
1 parent
de11b9e901
commit
295b634ca6
26 files changed
+108
-132
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user