summaryrefslogtreecommitdiff
path: root/src/net/manaserv
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-09 22:10:53 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-09 22:11:30 +0300
commit703a3c4df3732e3e88559147001260f3355d42d6 (patch)
treefcaf8919cf734429374e4bb9a83b2b4a33835d1d /src/net/manaserv
parent3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e (diff)
downloadmanaverse-703a3c4df3732e3e88559147001260f3355d42d6.tar.gz
manaverse-703a3c4df3732e3e88559147001260f3355d42d6.tar.bz2
manaverse-703a3c4df3732e3e88559147001260f3355d42d6.tar.xz
manaverse-703a3c4df3732e3e88559147001260f3355d42d6.zip
Continue fix for shadow variables/methods errors.
Diffstat (limited to 'src/net/manaserv')
-rw-r--r--src/net/manaserv/chathandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/chathandler.cpp b/src/net/manaserv/chathandler.cpp
index 85323b11a..16552018e 100644
--- a/src/net/manaserv/chathandler.cpp
+++ b/src/net/manaserv/chathandler.cpp
@@ -231,7 +231,7 @@ void ChatHandler::handlePrivateMessage(Net::MessageIn &msg)
std::string userNick = msg.readString();
std::string chatMsg = msg.readString();
- chatWindow->whisper(userNick, chatMsg);
+ chatWindow->addWhisper(userNick, chatMsg);
}
void ChatHandler::handleAnnouncement(Net::MessageIn &msg)