Fixes ExportService running even when not using TGS3

This commit is contained in:
CitadelStationBot
2017-06-15 21:01:05 -05:00
parent f0f6341588
commit 58e9b0e05a
+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]")