summaryrefslogtreecommitdiff
path: root/src/net/chathandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-05 21:50:02 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-05 21:50:02 -0600
commitbcc4695387d21f9629ab6f013aadbfe0d238aa6d (patch)
tree2e095ec94e99e788eb851a37cdf5eae68270424c /src/net/chathandler.h
parent9078373860729cdf80db8d09cbdee478dc54ec64 (diff)
downloadmana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.gz
mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.bz2
mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.xz
mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.zip
Implement TMWServ's Admin-, Chat-, and MapHandlers
Diffstat (limited to 'src/net/chathandler.h')
-rw-r--r--src/net/chathandler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/chathandler.h b/src/net/chathandler.h
index 56707cd2..20feee58 100644
--- a/src/net/chathandler.h
+++ b/src/net/chathandler.h
@@ -37,13 +37,14 @@ class ChatHandler
virtual void channelList() = 0;
- virtual void enterChannel(int channelId, const std::string &password) = 0;
+ virtual void enterChannel(const std::string &channel,
+ const std::string &password) = 0;
virtual void quitChannel(int channelId) = 0;
virtual void sendToChannel(int channelId, const std::string &text) = 0;
- virtual void userList(int channelId) = 0;
+ virtual void userList(const std::string &channel) = 0;
virtual void setChannelTopic(int channelId, const std::string &text) = 0;