summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2009-01-28 11:47:05 +0000
committerDavid Athay <ko2fan@gmail.com>2009-01-28 11:47:05 +0000
commit1a769276ce68285040bffd63bd1c01495ce411a7 (patch)
treeb0b7007ead5276801df1f95455abb31f1c130617 /src/commandhandler.cpp
parent3ca85b152531b9dd9cffa18d9b64d7c7ae615adf (diff)
downloadmana-1a769276ce68285040bffd63bd1c01495ce411a7.tar.gz
mana-1a769276ce68285040bffd63bd1c01495ce411a7.tar.bz2
mana-1a769276ce68285040bffd63bd1c01495ce411a7.tar.xz
mana-1a769276ce68285040bffd63bd1c01495ce411a7.zip
Added channel highlighting upon activity. Added /kick command to get rid of users from a channel
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 4b1a0225..0f4d0f2f 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -87,6 +87,10 @@ void CommandHandler::handleCommand(const std::string &command)
{
handleOp(args);
}
+ else if (type == "kick")
+ {
+ handleKick(args);
+ }
else
{
chatWindow->chatLog("Unknown command");
@@ -115,6 +119,8 @@ void CommandHandler::handleHelp(const std::string &args)
chatWindow->chatLog("/quit > Leave a channel");
chatWindow->chatLog("/clear > Clears this window");
chatWindow->chatLog("/party > Invite a user to party");
+ chatWindow->chatLog("/op > Make a user a channel operator");
+ chatWindow->chatLog("/kick > Kick a user from the channel");
chatWindow->chatLog("For more information, type /help <command>");
}
else if (args == "announce")