summaryrefslogtreecommitdiff
path: root/src/net/ea/chathandler.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-27 23:43:24 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-29 19:45:53 +0200
commit3cca6548aefcfe0751ab7b4d70ac71ace486e12e (patch)
treed4cc812676bc6f31ed5f1da6fd99fe0410abf9cd /src/net/ea/chathandler.cpp
parent9c99cee38effd341889267c8cda6c964af561aa1 (diff)
downloadmana-client-3cca6548aefcfe0751ab7b4d70ac71ace486e12e.tar.gz
mana-client-3cca6548aefcfe0751ab7b4d70ac71ace486e12e.tar.bz2
mana-client-3cca6548aefcfe0751ab7b4d70ac71ace486e12e.tar.xz
mana-client-3cca6548aefcfe0751ab7b4d70ac71ace486e12e.zip
Removed underscores from some non-conforming filenames
We don't use underscores in the filenames generally, and let's be consistent on that matter.
Diffstat (limited to 'src/net/ea/chathandler.cpp')
-rw-r--r--src/net/ea/chathandler.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 26af36dd..db89e316 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -30,7 +30,7 @@
#include "beingmanager.h"
#include "game.h"
#include "localplayer.h"
-#include "player_relations.h"
+#include "playerrelations.h"
#include "gui/widgets/chattab.h"
@@ -40,8 +40,6 @@
#include <string>
-#define SERVER_NAME "Server"
-
Net::ChatHandler *chatHandler;
namespace EAthena {
@@ -96,7 +94,7 @@ void ChatHandler::handleMessage(MessageIn &msg)
chatMsg = msg.readString(chatMsgLength);
- if (nick != SERVER_NAME)
+ if (nick != "Server")
{
if (player_relations.hasPermission(nick, PlayerRelation::WHISPER))
chatWindow->whisper(nick, chatMsg);