diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:50:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:50:28 +0300 |
commit | 616ab2676cc932ab59152c510d584c429090987a (patch) | |
tree | 9184b8836b51a073f67ee60a46043084687207a7 /src/actions | |
parent | 4b397f4c8e2b0c8d636cc2782d9571567473975b (diff) | |
download | mv-616ab2676cc932ab59152c510d584c429090987a.tar.gz mv-616ab2676cc932ab59152c510d584c429090987a.tar.bz2 mv-616ab2676cc932ab59152c510d584c429090987a.tar.xz mv-616ab2676cc932ab59152c510d584c429090987a.zip |
Remove getter for serverFeatures.
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; } |