Add logging to client-side reboot functionality

This commit is contained in:
Markolie
2015-09-01 00:57:18 +02:00
parent d6bb0d5d68
commit d210f02f52
+3 -4
View File
@@ -211,12 +211,11 @@ var/world_topic_spam_protect_time = world.timeofday
return show_player_info_irc(input["notes"])
/world/Reboot(var/reason, var/feedback_c, var/feedback_r, var/time)
if (reason == 1) //special reboot, do none of the normal stuff
if(usr)
message_admins("[key_name_admin(usr)] has requested an immediate world restart via client side debugging tools")
log_admin("[key_name(usr)] has requested an immediate world restart via client side debugging tools")
spawn(0)
world << "<span class='boldannounce'>Rebooting world immediately due to host request</span>"
return ..(1)