From 616ab2676cc932ab59152c510d584c429090987a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Sep 2014 11:50:28 +0300 Subject: Remove getter for serverFeatures. --- src/net/ea/gui/partytab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/ea/gui/partytab.cpp') diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index 937245fc9..afc1c3845 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -197,7 +197,7 @@ bool PartyTab::handleCommand(const std::string &restrict type, } } else if (type == "setleader" - && Net::getServerFeatures()->haveChangePartyLeader()) + && serverFeatures->haveChangePartyLeader()) { partyHandler->changeLeader(args); } @@ -228,7 +228,7 @@ void PartyTab::getAutoCompleteCommands(StringVect &names) const names.push_back("/kick "); names.push_back("/item"); names.push_back("/exp"); - if (Net::getServerFeatures()->haveChangePartyLeader()) + if (serverFeatures->haveChangePartyLeader()) names.push_back("/setleader "); } -- cgit v1.2.3-70-g09d2