summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2008-12-06 15:16:42 +0000
committerJared Adams <jaxad0127@gmail.com>2008-12-06 15:16:42 +0000
commitbb7c5ce187c0d6c555fbc390859b054e6c8dfcd2 (patch)
treec082e21209fa4b804de1df26b4b5d8af98e6a572 /src/gui
parent369e540d6cb78874c4951b66b1668468168f496b (diff)
downloadmana-client-bb7c5ce187c0d6c555fbc390859b054e6c8dfcd2.tar.gz
mana-client-bb7c5ce187c0d6c555fbc390859b054e6c8dfcd2.tar.bz2
mana-client-bb7c5ce187c0d6c555fbc390859b054e6c8dfcd2.tar.xz
mana-client-bb7c5ce187c0d6c555fbc390859b054e6c8dfcd2.zip
Fix whispering
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/chat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 5817adbd..66f6600f 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -339,9 +339,9 @@ ChatWindow::chatSend(const std::string &nick, std::string msg)
mTextOutput->clearRows();
}
else if (msg.substr(0, IS_WHISPER_LENGTH) == IS_WHISPER)
- whisper(nick, msg, IS_WHISPER_LENGTH + 1);
+ whisper(nick, msg, IS_WHISPER_LENGTH);
else if (msg.substr(0, IS_SHORT_WHISPER_LENGTH) == IS_SHORT_WHISPER)
- whisper(nick, msg, IS_SHORT_WHISPER_LENGTH + 1);
+ whisper(nick, msg, IS_SHORT_WHISPER_LENGTH);
else
{
chatLog("Unknown command", BY_SERVER);