diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:50:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:50:22 +0300 |
commit | 4228763829f71ec4db50ed185483d7707c5e47eb (patch) | |
tree | 55e6ae79345b0580b13928162a85d4b7ba2ef664 /src/gui/popups/popupmenu.cpp | |
parent | 38b46ebb02bbe307765aa9a456b587eafd3dfd7e (diff) | |
download | ManaVerse-4228763829f71ec4db50ed185483d7707c5e47eb.tar.gz ManaVerse-4228763829f71ec4db50ed185483d7707c5e47eb.tar.bz2 ManaVerse-4228763829f71ec4db50ed185483d7707c5e47eb.tar.xz ManaVerse-4228763829f71ec4db50ed185483d7707c5e47eb.zip |
Remove getter for guildHandler.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 89de39145..8e9939991 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1024,7 +1024,7 @@ void PopupMenu::handleLink(const std::string &link, if (guild) { if (guild->getServerGuild()) - Net::getGuildHandler()->invite(guild->getId(), mNick); + guildHandler->invite(guild->getId(), mNick); else if (guildManager) guildManager->invite(mNick); } @@ -1437,7 +1437,7 @@ void PopupMenu::handleLink(const std::string &link, if (guild) { if (guild->getServerGuild()) - Net::getGuildHandler()->kick(guild->getMember(mNick), ""); + guildHandler->kick(guild->getMember(mNick), ""); else if (guildManager) guildManager->kick(mNick); } @@ -1826,7 +1826,7 @@ void PopupMenu::handleLink(const std::string &link, const Guild *const guild = localPlayer->getGuild(); if (guild) { - Net::getGuildHandler()->changeMemberPostion( + guildHandler->changeMemberPostion( guild->getMember(mNick), num); } } |