summaryrefslogtreecommitdiff
path: root/src/net/manaserv/adminhandler.cpp
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-01-21 05:12:32 +0800
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-01-21 05:56:14 +0800
commitf263ad5867ce03f585fc9d7145d6c5f3ebbcdb59 (patch)
tree6fcdd4cd3520f195c11669cf9af04ad170823758 /src/net/manaserv/adminhandler.cpp
parentd2b77eb41833eb775165a39331d02af83bdb0d8b (diff)
downloadmana-f263ad5867ce03f585fc9d7145d6c5f3ebbcdb59.tar.gz
mana-f263ad5867ce03f585fc9d7145d6c5f3ebbcdb59.tar.bz2
mana-f263ad5867ce03f585fc9d7145d6c5f3ebbcdb59.tar.xz
mana-f263ad5867ce03f585fc9d7145d6c5f3ebbcdb59.zip
Clientside fix of switching from /announce to @announce
- Added support for senders of announcement Reviewed-by: Bjorn.
Diffstat (limited to 'src/net/manaserv/adminhandler.cpp')
-rw-r--r--src/net/manaserv/adminhandler.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/manaserv/adminhandler.cpp b/src/net/manaserv/adminhandler.cpp
index 280b0161..178291a4 100644
--- a/src/net/manaserv/adminhandler.cpp
+++ b/src/net/manaserv/adminhandler.cpp
@@ -48,14 +48,12 @@ void AdminHandler::handleMessage(Net::MessageIn &msg)
void AdminHandler::announce(const std::string &text)
{
- MessageOut msg(PCMSG_ANNOUNCE);
- msg.writeString(text);
- chatServerConnection->send(msg);
+ // TODO send warning about using @announce instead
}
void AdminHandler::localAnnounce(const std::string &text)
{
- // TODO
+ // TODO add @command for this
}
void AdminHandler::hide(bool hide)