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/chat.cpp | |
parent | 4b397f4c8e2b0c8d636cc2782d9571567473975b (diff) | |
download | manaplus-616ab2676cc932ab59152c510d584c429090987a.tar.gz manaplus-616ab2676cc932ab59152c510d584c429090987a.tar.bz2 manaplus-616ab2676cc932ab59152c510d584c429090987a.tar.xz manaplus-616ab2676cc932ab59152c510d584c429090987a.zip |
Remove getter for serverFeatures.
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r-- | src/actions/chat.cpp | 4 |
1 files changed, 2 insertions, 2 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()) |