summaryrefslogtreecommitdiffstats
path: root/src/crsm.cpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2016-08-21 14:45:22 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2016-08-21 14:48:37 +0200
commitf979fa62414641ee0fc2d5ae5e8bb08c8f05c7b0 (patch)
tree035dec9a82ad9dc78c7f6eb859eaae240f8c1020 /src/crsm.cpp
parenta50c8cf40b09b224db66d00715cc1e9e3da5970f (diff)
downloadmanager-f979fa62414641ee0fc2d5ae5e8bb08c8f05c7b0.tar.gz
manager-f979fa62414641ee0fc2d5ae5e8bb08c8f05c7b0.zip
Add option to forcibly disable league (for masterservers without league)
Diffstat (limited to 'src/crsm.cpp')
-rw-r--r--src/crsm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crsm.cpp b/src/crsm.cpp
index 9ea3f3e..32a03d1 100644
--- a/src/crsm.cpp
+++ b/src/crsm.cpp
@@ -729,7 +729,7 @@ void CRSM::startScen(const ScenarioSettings &scen, QStringList argList)
ircSetIngameChannelTopic();
filename = scenarioFileName(scen.name);
- if(scen.league)
+ if(scen.league && !Config.Hosting.DisableLeague)
{
argList << "/league";
Session.League = true;