summaryrefslogtreecommitdiff
path: root/src/net/manaserv/npchandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/npchandler.cpp')
-rw-r--r--src/net/manaserv/npchandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/npchandler.cpp b/src/net/manaserv/npchandler.cpp
index 6b79fb90..502df13d 100644
--- a/src/net/manaserv/npchandler.cpp
+++ b/src/net/manaserv/npchandler.cpp
@@ -108,7 +108,7 @@ void NpcHandler::handleMessage(MessageIn &msg)
case GPMSG_NPC_MESSAGE:
event = new Event(Event::Message);
event->setInt("id", npcId);
- event->setString("text", msg.readString(msg.getUnreadLength()));
+ event->setString("text", msg.readString());
event->trigger(Event::NpcChannel);
delete event;