summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/socialguildtab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/socialguildtab.h b/src/gui/widgets/tabs/socialguildtab.h
index ba9127418..ed9261133 100644
--- a/src/gui/widgets/tabs/socialguildtab.h
+++ b/src/gui/widgets/tabs/socialguildtab.h
@@ -75,7 +75,7 @@ class SocialGuildTab final : public SocialTab,
if (eventId == "do invite")
{
const std::string name = mInviteDialog->getText();
- Net::getGuildHandler()->invite(mGuild->getId(), name);
+ guildHandler->invite(mGuild->getId(), name);
if (localChatTab)
{
@@ -94,7 +94,7 @@ class SocialGuildTab final : public SocialTab,
}
else if (eventId == "yes")
{
- Net::getGuildHandler()->leave(mGuild->getId());
+ guildHandler->leave(mGuild->getId());
if (localChatTab)
{
// TRANSLATORS: chat message