summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 11:50:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 11:50:28 +0300
commit616ab2676cc932ab59152c510d584c429090987a (patch)
tree9184b8836b51a073f67ee60a46043084687207a7 /src/actions/chat.cpp
parent4b397f4c8e2b0c8d636cc2782d9571567473975b (diff)
downloadmv-616ab2676cc932ab59152c510d584c429090987a.tar.gz
mv-616ab2676cc932ab59152c510d584c429090987a.tar.bz2
mv-616ab2676cc932ab59152c510d584c429090987a.tar.xz
mv-616ab2676cc932ab59152c510d584c429090987a.zip
Remove getter for serverFeatures.
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r--src/actions/chat.cpp4
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())