*Add forgotten part of previous commit
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -66,9 +66,9 @@ bool ChatHandler::HandleMuteCommand(const char* args)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
uint32 account_id = target ? target->GetSession()->GetAccountId() : objmgr.GetPlayerAccountIdByGUID(target_guid);
|
uint32 account_id = target ? target->GetSession()->GetAccountId() : objmgr.GetPlayerAccountIdByGUID(target_guid);
|
||||||
std::string mutereasonstr;
|
std::string mutereasonstr = "No reason.";
|
||||||
char *mutereason = strtok(NULL, " ");
|
char *mutereason = strtok(NULL, " ");
|
||||||
if(!mutereason)
|
if(mutereason)
|
||||||
mutereason = mutereason;
|
mutereason = mutereason;
|
||||||
|
|
||||||
// find only player from same account if any
|
// find only player from same account if any
|
||||||
|
|||||||
Reference in New Issue
Block a user