diff options
author | Ira Rice <irarice@gmail.com> | 2008-11-03 19:28:50 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-11-03 19:28:50 +0000 |
commit | 6ad0aaed79c4334c6c9c22ccc53dc463cc554bb3 (patch) | |
tree | 7cf3f5d94883ae70a893ac9f44baa03db11478f8 /src/gui | |
parent | c10473eac230927f0c8af3b2d3a8a5dbf867bb8a (diff) | |
download | mana-6ad0aaed79c4334c6c9c22ccc53dc463cc554bb3.tar.gz mana-6ad0aaed79c4334c6c9c22ccc53dc463cc554bb3.tar.bz2 mana-6ad0aaed79c4334c6c9c22ccc53dc463cc554bb3.tar.xz mana-6ad0aaed79c4334c6c9c22ccc53dc463cc554bb3.zip |
Added a /w alias for whispering. Suggested by Kyron.
Diffstat (limited to 'src/gui')
-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 316669c2..6a74d19e 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -345,7 +345,7 @@ void ChatWindow::chatSend(const std::string & nick, std::string msg) mTextOutput->clearRows(); return; } - if (command == "whisper" || command == "msg") { + if (command == "whisper" || command == "msg" || command == "w") { std::string recvnick = ""; if (msg.substr(0, 1) == "\"") { @@ -704,7 +704,7 @@ void ChatWindow::help(const std::string & msg1, const std::string & msg2) BY_SERVER); return; } - if (msg1 == "whisper" || msg1 == "msg") { + if (msg1 == "whisper" || msg1 == "msg" || msg1 == "w") { chatLog("Command: /whisper <nick> <msg>", BY_SERVER); chatLog("This command sends the message <msg> to <nick.", BY_SERVER); chatLog("If the <nick> has spaces in it, enclose it in " |