aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2012-08-03 18:54:37 +0100
committerNay <dnpd.dd@gmail.com>2012-08-03 22:39:34 +0100
commit3577afcfaf32985ec2cd433d16056db4d2a546b2 (patch)
treeb2ff9883cd6f3c0cc7edd2b485b1ab1939f48ee8 /src/server/scripts
parentf53e724cfac99ceb1577002933ef9db10bcbdb1a (diff)
Core/WorldSession: Bypass assigned handler restriction if .debug send opcode command is used
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Commands/cs_debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp
index 6accc96260b..874c7ab81b0 100644
--- a/src/server/scripts/Commands/cs_debug.cpp
+++ b/src/server/scripts/Commands/cs_debug.cpp
@@ -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;
}