summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/manaserv/chathandler.cpp2
-rw-r--r--src/net/tmwa/chathandler.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/manaserv/chathandler.cpp b/src/net/manaserv/chathandler.cpp
index bdb903fe1..9fc85be2d 100644
--- a/src/net/manaserv/chathandler.cpp
+++ b/src/net/manaserv/chathandler.cpp
@@ -164,7 +164,7 @@ void ChatHandler::handleGameChatMessage(Net::MessageIn &msg)
if (being)
{
mes = being->getName() + " : " + chatMsg;
- being->setSpeech(chatMsg, SPEECH_TIME);
+ being->setSpeech(chatMsg);
}
else
mes = "Unknown : " + chatMsg;
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index d8a842003..3a3b45a3c 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -278,7 +278,7 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
if (player_relations.hasPermission(sender_name,
PlayerRelation::SPEECH_FLOAT))
{
- being->setSpeech(chatMsg, SPEECH_TIME);
+ being->setSpeech(chatMsg);
}
break;
}
@@ -315,7 +315,7 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
trim(chatMsg);
if (player_node)
- player_node->setSpeech(chatMsg, SPEECH_TIME);
+ player_node->setSpeech(chatMsg);
}
else if (localChatTab)
{