summaryrefslogtreecommitdiff
path: root/src/net/ea
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/net/ea
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/net/ea')
-rw-r--r--src/net/ea/chathandler.cpp5
-rw-r--r--src/net/ea/chathandler.h2
-rw-r--r--src/net/ea/maphandler.cpp2
3 files changed, 8 insertions, 1 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 2e8df374..2446e26e 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -239,4 +239,9 @@ void ChatHandler::kickUser(int channelId, const std::string &name)
localChatTab->chatLog(_("Channels are not supported!"), BY_SERVER);
}
+void ChatHandler::who()
+{
+ MessageOut outMsg(CMSG_WHO_REQUEST);
+}
+
} // namespace EAthena
diff --git a/src/net/ea/chathandler.h b/src/net/ea/chathandler.h
index a907535e..f77b7b80 100644
--- a/src/net/ea/chathandler.h
+++ b/src/net/ea/chathandler.h
@@ -58,6 +58,8 @@ class ChatHandler : public MessageHandler, public Net::ChatHandler
void setUserMode(int channelId, const std::string &name, int mode);
void kickUser(int channelId, const std::string &name);
+
+ void who();
};
} // namespace EAthena
diff --git a/src/net/ea/maphandler.cpp b/src/net/ea/maphandler.cpp
index 79e41914..76b3c480 100644
--- a/src/net/ea/maphandler.cpp
+++ b/src/net/ea/maphandler.cpp
@@ -100,7 +100,7 @@ void MapHandler::mapLoaded(const std::string &mapName)
void MapHandler::who()
{
- MessageOut outMsg(CMSG_WHO_REQUEST);
+
}
void MapHandler::quit()