From f979fa62414641ee0fc2d5ae5e8bb08c8f05c7b0 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Sun, 21 Aug 2016 14:45:22 +0200 Subject: Add option to forcibly disable league (for masterservers without league) --- src/crsm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crsm.cpp') 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; -- cgit v1.2.3-54-g00ecf