summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/tmwserv/chathandler.cpp2
-rw-r--r--src/net/tmwserv/partyhandler.cpp2
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())