diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/chat.cpp | 4 | ||||
-rw-r--r-- | src/actions/commands.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index 3c6b4f7fc..b5e507924 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -75,7 +75,7 @@ static void outString(const ChatTab *const tab, { if (!Net::getServerFeatures()->haveNativeGuilds()) return; - Net::getGuildHandler()->chat(guild->getId(), str); + guildHandler->chat(guild->getId(), str); } else if (guildManager) { @@ -282,7 +282,7 @@ impHandler(createGuild) } else { - Net::getGuildHandler()->create(event.args); + guildHandler->create(event.args); } return true; } diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index a1ae6b32c..d5c2f5096 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -422,7 +422,7 @@ impHandler(info) { const Guild *const guild = localPlayer->getGuild(); if (guild) - Net::getGuildHandler()->info(guild->getId()); + guildHandler->info(guild->getId()); break; } default: |