summaryrefslogtreecommitdiff
path: root/src/net/ea/chathandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-16 10:10:50 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-16 10:10:50 -0600
commit736795a624ae5f04b11fa284cb8a4b14579c1766 (patch)
tree6c7c70926959ff23831002a06ea82c17cadc3188 /src/net/ea/chathandler.cpp
parente8dd52d8264cd0eec1f5d32c1f809a164e2d2f59 (diff)
downloadmana-client-736795a624ae5f04b11fa284cb8a4b14579c1766.tar.gz
mana-client-736795a624ae5f04b11fa284cb8a4b14579c1766.tar.bz2
mana-client-736795a624ae5f04b11fa284cb8a4b14579c1766.tar.xz
mana-client-736795a624ae5f04b11fa284cb8a4b14579c1766.zip
Rehash CommandHandler a bit, it's now fully merged
Tabs can now interract with CommandHandler and define their own commands in a seemless way. Most channel-related commands have been moved into ChannelTab, the close command is now in the WhisperTab, and eAthena's party tab now shows all standard commands.
Diffstat (limited to 'src/net/ea/chathandler.cpp')
-rw-r--r--src/net/ea/chathandler.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 997881f8..626f1048 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -200,43 +200,43 @@ void ChatHandler::privateMessage(const std::string &recipient,
void ChatHandler::channelList()
{
- // TODO
+ localChatTab->chatLog(_("Channels are not supported!"), BY_SERVER);
}
void ChatHandler::enterChannel(const std::string &channel,
const std::string &password)
{
- // TODO
+ localChatTab->chatLog(_("Channels are not supported!"), BY_SERVER);
}
void ChatHandler::quitChannel(int channelId)
{
- // TODO
+ localChatTab->chatLog(_("Channels are not supported!"), BY_SERVER);
}
void ChatHandler::sendToChannel(int channelId, const std::string &text)
{
- // TODO
+ localChatTab->chatLog(_("Channels are not supported!"), BY_SERVER);
}
void ChatHandler::userList(const std::string &channel)
{
- // TODO
+ localChatTab->chatLog(_("Channels are not supported!"), BY_SERVER);
}
void ChatHandler::setChannelTopic(int channelId, const std::string &text)
{
- // TODO
+ localChatTab->chatLog(_("Channels are not supported!"), BY_SERVER);
}
void ChatHandler::setUserMode(int channelId, const std::string &name, int mode)
{
- // TODO
+ localChatTab->chatLog(_("Channels are not supported!"), BY_SERVER);
}
void ChatHandler::kickUser(int channelId, const std::string &name)
{
- // TODO
+ localChatTab->chatLog(_("Channels are not supported!"), BY_SERVER);
}
} // namespace EAthena