diff options
author | Jared Adams <jaxad0127@gmail.com> | 2008-12-06 15:16:42 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2008-12-06 15:16:42 +0000 |
commit | bb7c5ce187c0d6c555fbc390859b054e6c8dfcd2 (patch) | |
tree | c082e21209fa4b804de1df26b4b5d8af98e6a572 | |
parent | 369e540d6cb78874c4951b66b1668468168f496b (diff) | |
download | mana-bb7c5ce187c0d6c555fbc390859b054e6c8dfcd2.tar.gz mana-bb7c5ce187c0d6c555fbc390859b054e6c8dfcd2.tar.bz2 mana-bb7c5ce187c0d6c555fbc390859b054e6c8dfcd2.tar.xz mana-bb7c5ce187c0d6c555fbc390859b054e6c8dfcd2.zip |
Fix whispering
-rw-r--r-- | src/gui/chat.cpp | 4 |
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); |