summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-09 02:10:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-09 14:39:29 +0300
commit29c0c9e731694a40a6f2e41c6bdedb4b78e2b952 (patch)
treee944129f98e652f2bd9adbcf5cd273a8bbb9e528 /src/net/eathena/partyhandler.cpp
parent0aca242db52695fa0804ac180fc7961b281b422a (diff)
downloadmv-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.gz
mv-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.bz2
mv-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.xz
mv-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.cpp7
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;
}