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/net/ea/gui/partytab.cpp | |
parent | 4b397f4c8e2b0c8d636cc2782d9571567473975b (diff) | |
download | plus-616ab2676cc932ab59152c510d584c429090987a.tar.gz plus-616ab2676cc932ab59152c510d584c429090987a.tar.bz2 plus-616ab2676cc932ab59152c510d584c429090987a.tar.xz plus-616ab2676cc932ab59152c510d584c429090987a.zip |
Remove getter for serverFeatures.
Diffstat (limited to 'src/net/ea/gui/partytab.cpp')
-rw-r--r-- | src/net/ea/gui/partytab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 "); } |