diff options
author | David Athay <ko2fan@gmail.com> | 2009-04-23 17:31:14 +0100 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2009-04-23 17:31:14 +0100 |
commit | 0d439c39e99dbf1120dce784459176f744f70728 (patch) | |
tree | ef9dd8ccd23e3ec3f35ad08b1bbe40ac633cd5ab /src/commandhandler.cpp | |
parent | 0b1079c93c9ec61a0e0c00f8c942e5ef84052c05 (diff) | |
download | mana-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.cpp | 4 |
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) |