diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-09 02:10:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-09 14:39:29 +0300 |
commit | 29c0c9e731694a40a6f2e41c6bdedb4b78e2b952 (patch) | |
tree | e944129f98e652f2bd9adbcf5cd273a8bbb9e528 /src/net/eathena/partyhandler.cpp | |
parent | 0aca242db52695fa0804ac180fc7961b281b422a (diff) | |
download | manaverse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.gz manaverse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.bz2 manaverse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.xz manaverse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.zip |
Add new notifications to guildhandler, guildmanager, inventoryhandler and partyhandler.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r-- | src/net/eathena/partyhandler.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp index 72b0beaf2..264b2bd26 100644 --- a/src/net/eathena/partyhandler.cpp +++ b/src/net/eathena/partyhandler.cpp @@ -23,6 +23,7 @@ #include "actorspritemanager.h" #include "localplayer.h" +#include "notifymanager.h" #include "net/eathena/protocol.h" @@ -166,11 +167,7 @@ void PartyHandler::kick(const std::string &name) const PartyMember *const m = Ea::taParty->getMember(name); if (!m) { - if (Ea::partyTab) - { - Ea::partyTab->chatLog(strprintf(_("%s is not in your party!"), - name.c_str()), BY_SERVER); - } + NotifyManager::notify(NotifyManager::PARTY_USER_NOT_IN_PARTY, name); return; } |