From a306ecf96736779b08d1de7ec994d3d741d5dc61 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Mar 2013 18:28:47 +0300 Subject: fix code style. --- src/net/eathena/chathandler.cpp | 2 +- src/net/eathena/chathandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 0f62411b3..55941e030 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -175,7 +175,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/eathena/chathandler.h b/src/net/eathena/chathandler.h index 8a278bc29..928b7aeb0 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/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 EAthena -- cgit v1.2.3-70-g09d2