summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2009-04-23 17:31:14 +0100
committerDavid Athay <ko2fan@gmail.com>2009-04-23 17:31:14 +0100
commit0d439c39e99dbf1120dce784459176f744f70728 (patch)
treeef9dd8ccd23e3ec3f35ad08b1bbe40ac633cd5ab /src/commandhandler.cpp
parent0b1079c93c9ec61a0e0c00f8c942e5ef84052c05 (diff)
downloadmana-0d439c39e99dbf1120dce784459176f744f70728.tar.gz
mana-0d439c39e99dbf1120dce784459176f744f70728.tar.bz2
mana-0d439c39e99dbf1120dce784459176f744f70728.tar.xz
mana-0d439c39e99dbf1120dce784459176f744f70728.zip
Added listing all online users
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 48da510f..f969cb43 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -47,7 +47,7 @@ void CommandHandler::handleCommand(const std::string &command, ChatTab *tab)
std::string::size_type pos = command.find(' ');
std::string type(command, 0, pos);
std::string args(command, pos == std::string::npos ? command.size() : pos + 1);
-
+
if (type == "help") // Do help before tabs so they can't override it
{
handleHelp(args, tab);
@@ -283,7 +283,7 @@ void CommandHandler::handleWhere(const std::string &args, ChatTab *tab)
void CommandHandler::handleWho(const std::string &args, ChatTab *tab)
{
- Net::getMapHandler()->who();
+ Net::getChatHandler()->who();
}
void CommandHandler::handleMsg(const std::string &args, ChatTab *tab)