summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-09-20 22:35:34 -0300
committershennetsind <ind@henn.et>2014-09-20 22:35:34 -0300
commitdb896b4ec75d0bd32a699d2b850e0c0bc66d6506 (patch)
tree7acab17e71daf2eec96ee1a8f4f6dc42b7d60e21 /src/map/atcommand.c
parent3e6e76b8c673e99d240a700912eb4d4a68b3be30 (diff)
downloadhercules-db896b4ec75d0bd32a699d2b850e0c0bc66d6506.tar.gz
hercules-db896b4ec75d0bd32a699d2b850e0c0bc66d6506.tar.bz2
hercules-db896b4ec75d0bd32a699d2b850e0c0bc66d6506.tar.xz
hercules-db896b4ec75d0bd32a699d2b850e0c0bc66d6506.zip
Fixed bug 8186 (@who3)
Issue where certain name patterns could cause the game client to crash, solved by changing the packet. Special Thanks to kyeme! http://hercules.ws/board/tracker/issue-8186-client-crashes-in-disguise-and-who/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index cc6f0b20d..497e46520 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -619,7 +619,7 @@ ACMD(who) {
break;
}
}
- clif->message(fd, StrBuf->Value(&buf));
+ clif->colormes(fd, COLOR_DEFAULT, StrBuf->Value(&buf));/** for whatever reason clif->message crashes with some patterns, see bugreport:8186 **/
StrBuf->Clear(&buf);
count++;
}