diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-01-21 05:12:32 +0800 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-01-21 05:56:14 +0800 |
commit | f263ad5867ce03f585fc9d7145d6c5f3ebbcdb59 (patch) | |
tree | 6fcdd4cd3520f195c11669cf9af04ad170823758 /src/net/manaserv/adminhandler.cpp | |
parent | d2b77eb41833eb775165a39331d02af83bdb0d8b (diff) | |
download | mana-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.cpp | 6 |
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) |