Fixes ExportService running even when not using TGS3

This commit is contained in:
Jordan Brown
2017-06-14 13:05:25 -04:00
committed by GitHub
parent b6a4a32633
commit 87e4afc73d
+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]")