diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-02 22:25:24 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-02 22:28:24 +0200 |
commit | 4a8080dcf73dab2b6e62b8500fec3bb996bcbf17 (patch) | |
tree | 67ef51dbb1b360f9a3e7c38cf0dbeb2b5f001bfd /src/chat-server | |
parent | ad3958701136ff8ae4a4fc749ef616cc8917d2af (diff) | |
download | manaserv-4a8080dcf73dab2b6e62b8500fec3bb996bcbf17.tar.gz manaserv-4a8080dcf73dab2b6e62b8500fec3bb996bcbf17.tar.bz2 manaserv-4a8080dcf73dab2b6e62b8500fec3bb996bcbf17.tar.xz manaserv-4a8080dcf73dab2b6e62b8500fec3bb996bcbf17.zip |
Fixed multiple warnings and errors that blocked c++0x
This allows the server to compile with c++0x (and enables it).
This also includes some coding style / readabillity fixes.
Diffstat (limited to 'src/chat-server')
-rw-r--r-- | src/chat-server/chathandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chat-server/chathandler.cpp b/src/chat-server/chathandler.cpp index 63aaa43a..93b1af43 100644 --- a/src/chat-server/chathandler.cpp +++ b/src/chat-server/chathandler.cpp @@ -443,7 +443,7 @@ void ChatHandler::handleModeChangeMessage(ChatClient &client, MessageIn &msg) trans.mCharacterId = client.characterId; trans.mAction = TRANS_CHANNEL_MODE; trans.mMessage = "User mode "; - trans.mMessage.append(mode + " set on " + user); + trans.mMessage.append(utils::toString(mode) + " set on " + user); storage->addTransaction(trans); } |