summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/socialguildtab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/socialguildtab.h')
-rw-r--r--src/gui/widgets/tabs/socialguildtab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/socialguildtab.h b/src/gui/widgets/tabs/socialguildtab.h
index 88354bb50..8f09f7bde 100644
--- a/src/gui/widgets/tabs/socialguildtab.h
+++ b/src/gui/widgets/tabs/socialguildtab.h
@@ -74,7 +74,7 @@ class SocialGuildTab final : public SocialTab,
if (eventId == "do invite")
{
const std::string name = mInviteDialog->getText();
- guildHandler->invite(mGuild->getId(), name);
+ guildHandler->invite(name);
if (localChatTab)
{