summaryrefslogtreecommitdiff
path: root/src/net/tmwa/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-29 23:18:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-30 16:37:02 +0300
commit194e902a7231c814a23af9e41408301f3ce413c0 (patch)
tree68249ae426bf730b5c629dd0e9524b3a73c23036 /src/net/tmwa/chathandler.cpp
parentc0d2d172cf6397329b0474e8521af666edc6f774 (diff)
downloadmanaplus-194e902a7231c814a23af9e41408301f3ce413c0.tar.gz
manaplus-194e902a7231c814a23af9e41408301f3ce413c0.tar.bz2
manaplus-194e902a7231c814a23af9e41408301f3ce413c0.tar.xz
manaplus-194e902a7231c814a23af9e41408301f3ce413c0.zip
Remove additional parameters from processChat function.
Diffstat (limited to 'src/net/tmwa/chathandler.cpp')
-rw-r--r--src/net/tmwa/chathandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index 65a136570..ef89d966d 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -85,11 +85,11 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
case SMSG_PLAYER_CHAT:
case SMSG_GM_CHAT:
- processChat(msg, msg.getId() == SMSG_PLAYER_CHAT, false);
+ processChat(msg);
break;
case SMSG_PLAYER_CHAT2:
- processChat(msg, true, true);
+ processChat(msg);
break;
case SMSG_MVP: