summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/chathandler.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2009-04-20 15:08:28 +0100
committerDavid Athay <ko2fan@gmail.com>2009-04-20 15:08:28 +0100
commitf1d6803dd8a90db885d4d7c1734783acdcd95485 (patch)
tree5e0de497043464a240a3e43fda00d0500c499dab /src/net/tmwserv/chathandler.cpp
parentd6dbd51deeae42a621534e6565aaeb468ecc5d17 (diff)
downloadmana-f1d6803dd8a90db885d4d7c1734783acdcd95485.tar.gz
mana-f1d6803dd8a90db885d4d7c1734783acdcd95485.tar.bz2
mana-f1d6803dd8a90db885d4d7c1734783acdcd95485.tar.xz
mana-f1d6803dd8a90db885d4d7c1734783acdcd95485.zip
Fix clearing handlers on connecting to game server.
Diffstat (limited to 'src/net/tmwserv/chathandler.cpp')
-rw-r--r--src/net/tmwserv/chathandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tmwserv/chathandler.cpp b/src/net/tmwserv/chathandler.cpp
index 5b1b28dd..e3421e93 100644
--- a/src/net/tmwserv/chathandler.cpp
+++ b/src/net/tmwserv/chathandler.cpp
@@ -69,6 +69,7 @@ ChatHandler::ChatHandler()
0
};
handledMessages = _messages;
+ chatHandler = this;
}
void ChatHandler::handleMessage(MessageIn &msg)