Core/WorldSession: Bypass assigned handler restriction if .debug send opcode command is used

This commit is contained in:
Nay committed 2012-08-03 22:39:34 +01:00
1 parent f53e724cfa
commit 3577afcfaf
3 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -416,7 +416,7 @@ public:
}
sLog->outDebug(LOG_FILTER_NETWORKIO, "Sending opcode %u", data.GetOpcode());
data.hexlike();
player->GetSession()->SendPacket(&data);
player->GetSession()->SendPacket(&data, true);
handler->PSendSysMessage(LANG_COMMAND_OPCODESENT, data.GetOpcode(), unit->GetName());
return true;
}