summaryrefslogtreecommitdiff
path: root/src/gui/windows
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/windows
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/windows')
-rw-r--r--src/gui/windows/socialwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp
index 500f72b66..5b7868abb 100644
--- a/src/gui/windows/socialwindow.cpp
+++ b/src/gui/windows/socialwindow.cpp
@@ -306,7 +306,7 @@ void SocialWindow::action(const ActionEvent &event)
mPartyInviter.c_str()));
}
if (!guildManager || !GuildManager::getEnableGuildBot())
- Net::getGuildHandler()->inviteResponse(mGuildInvited, true);
+ guildHandler->inviteResponse(mGuildInvited, true);
else
guildManager->inviteResponse(true);
}
@@ -320,7 +320,7 @@ void SocialWindow::action(const ActionEvent &event)
mPartyInviter.c_str()));
}
if (!guildManager || !GuildManager::getEnableGuildBot())
- Net::getGuildHandler()->inviteResponse(mGuildInvited, false);
+ guildHandler->inviteResponse(mGuildInvited, false);
else
guildManager->inviteResponse(false);
}
@@ -352,7 +352,7 @@ void SocialWindow::action(const ActionEvent &event)
if (name.size() > 16)
return;
- Net::getGuildHandler()->create(name);
+ guildHandler->create(name);
if (localChatTab)
{
// TRANSLATORS: chat message