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 42b9fca24..8e210a155 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -73,7 +73,7 @@ static void outString(const ChatTab *const tab, { if (guild->getServerGuild()) { - if (!Net::getServerFeatures()->haveNativeGuilds()) + if (!serverFeatures->haveNativeGuilds()) return; guildHandler->chat(guild->getId(), str); } @@ -272,7 +272,7 @@ impHandler(createParty) impHandler(createGuild) { - if (!event.tab || !Net::getServerFeatures()->haveNativeGuilds()) + if (!event.tab || !serverFeatures->haveNativeGuilds()) return false; if (event.args.empty()) diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index cdc65f0ad..254f3868c 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -411,7 +411,7 @@ impHandler(sendMail) impHandler(info) { if (!event.tab || !localPlayer - || !Net::getServerFeatures()->haveNativeGuilds()) + || !serverFeatures->haveNativeGuilds()) { return false; } |