diff options
Diffstat (limited to 'src/net/manaserv/npchandler.cpp')
-rw-r--r-- | src/net/manaserv/npchandler.cpp | 2 |
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; |