Merge pull request #1620 from Citadel-Station-13/upstream-merge-28468

[MIRROR] Fixes ExportService running even when not using TGS3
This commit is contained in:
LetterJay
2017-06-16 11:10:47 -05:00
committed by GitHub
+1 -1
View File
@@ -5,7 +5,7 @@ GLOBAL_PROTECT(reboot_mode)
return params[SERVICE_WORLD_PARAM]
/world/proc/ExportService(command)
return shell("python code/modules/server_tools/nudge.py \"[command]\"") == 0
return RunningService() && shell("python code/modules/server_tools/nudge.py \"[command]\"") == 0
/world/proc/IRCBroadcast(msg)
ExportService("[SERVICE_REQUEST_IRC_BROADCAST] [msg]")