From 1a769276ce68285040bffd63bd1c01495ce411a7 Mon Sep 17 00:00:00 2001 From: David Athay Date: Wed, 28 Jan 2009 11:47:05 +0000 Subject: Added channel highlighting upon activity. Added /kick command to get rid of users from a channel --- src/commandhandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/commandhandler.cpp') 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 "); } else if (args == "announce") -- cgit v1.2.3-70-g09d2