summaryrefslogtreecommitdiff
path: root/src/net/tmwa/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/tmwa/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/tmwa/partyhandler.cpp')
-rw-r--r--src/net/tmwa/partyhandler.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp
index 2b3ac78d6..44fca8a6f 100644
--- a/src/net/tmwa/partyhandler.cpp
+++ b/src/net/tmwa/partyhandler.cpp
@@ -23,6 +23,7 @@
#include "actorspritemanager.h"
#include "localplayer.h"
+#include "notifymanager.h"
#include "net/tmwa/protocol.h"
@@ -168,11 +169,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;
}