summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-24 18:28:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-24 21:06:51 +0300
commita306ecf96736779b08d1de7ec994d3d741d5dc61 (patch)
tree5a64809354d2c5f672a34fc9578975ab76920b5b /src/net/tmwa
parent6053e0797465a15da30b8d645c8ac7c95b596c69 (diff)
downloadmv-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.gz
mv-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.bz2
mv-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.xz
mv-a306ecf96736779b08d1de7ec994d3d741d5dc61.zip
fix code style.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp2
-rw-r--r--src/net/tmwa/chathandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index b44c5bf73..b04d1604c 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -201,7 +201,7 @@ void ChatHandler::sendRaw(const std::string &args)
delete outMsg;
}
-void ChatHandler::processRaw(MessageOut &outMsg, std::string &line)
+void ChatHandler::processRaw(MessageOut &outMsg, const std::string &line)
{
size_t pos = line.find(":");
if (pos == std::string::npos)
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h
index 0359e9f13..733010b37 100644
--- a/src/net/tmwa/chathandler.h
+++ b/src/net/tmwa/chathandler.h
@@ -57,7 +57,7 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
void unIgnoreAll();
- void processRaw(MessageOut &outMsg, std::string &line);
+ void processRaw(MessageOut &outMsg, const std::string &line);
};
} // namespace TmwAthena