diff options
author | Bertram <bertram@cegetel.net> | 2009-08-11 00:56:14 +0200 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2009-08-11 00:56:14 +0200 |
commit | 0ebdce30ee61d7b038e81bc64ae7d1e27d98a144 (patch) | |
tree | eed9daebd0fa2e1143173afe5d89dd0357137da3 | |
parent | a940bc4648882350071e1a3c3ef7230f0c3021c2 (diff) | |
download | mana-client-0ebdce30ee61d7b038e81bc64ae7d1e27d98a144.tar.gz mana-client-0ebdce30ee61d7b038e81bc64ae7d1e27d98a144.tar.bz2 mana-client-0ebdce30ee61d7b038e81bc64ae7d1e27d98a144.tar.xz mana-client-0ebdce30ee61d7b038e81bc64ae7d1e27d98a144.zip |
Bugfixed the TMWserv client version.
-rw-r--r-- | src/net/tmwserv/chathandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwserv/partyhandler.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwserv/chathandler.cpp b/src/net/tmwserv/chathandler.cpp index ad3ae49b..c95f6ac5 100644 --- a/src/net/tmwserv/chathandler.cpp +++ b/src/net/tmwserv/chathandler.cpp @@ -298,7 +298,7 @@ void ChatHandler::handleChannelEvent(MessageIn &msg) std::string user1 = line.substr(0, first); std::string user2 = line.substr(first+1, line.length()); channel->getTab()->chatLog(strprintf(_("%s has kicked %s."), - user1, user2), BY_CHANNEL); + user1.c_str(), user2.c_str()), BY_CHANNEL); } break; default: diff --git a/src/net/tmwserv/partyhandler.cpp b/src/net/tmwserv/partyhandler.cpp index 2af0e4cb..220d20c0 100644 --- a/src/net/tmwserv/partyhandler.cpp +++ b/src/net/tmwserv/partyhandler.cpp @@ -100,7 +100,7 @@ void PartyHandler::handleMessage(MessageIn &msg) int id = msg.readInt16(); // being id std::string name = msg.readString(); - localChatTab->chatLog(strprintf(_("%s joined the party.", + localChatTab->chatLog(strprintf(_("%s joined the party."), name.c_str())); if (!player_node->isInParty()) |