summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 10:50:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 10:50:22 +0300
commit4228763829f71ec4db50ed185483d7707c5e47eb (patch)
tree55e6ae79345b0580b13928162a85d4b7ba2ef664 /src/gui/popups/popupmenu.cpp
parent38b46ebb02bbe307765aa9a456b587eafd3dfd7e (diff)
downloadmanaplus-4228763829f71ec4db50ed185483d7707c5e47eb.tar.gz
manaplus-4228763829f71ec4db50ed185483d7707c5e47eb.tar.bz2
manaplus-4228763829f71ec4db50ed185483d7707c5e47eb.tar.xz
manaplus-4228763829f71ec4db50ed185483d7707c5e47eb.zip
Remove getter for guildHandler.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp6
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);
}
}