removes all var/ in procs (#12738)

This commit is contained in:
Kashargul
2026-05-05 10:55:04 +02:00
committed by GitHub
parent cc15f62485
commit d75f90466d
2159 changed files with 8035 additions and 8037 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
/proc/send2irc(var/channel, var/msg)
/proc/send2irc(channel, msg)
return // VOREStation Edit - Can't exploit shell if we never call shell!
/* Unreachable with above VOREStation Edit
if (CONFIG_GET(flag/use_irc_bot)) // CHOMPEdit
@@ -25,12 +25,12 @@
return
*/
/proc/send2mainirc(var/msg)
/proc/send2mainirc(msg)
if(CONFIG_GET(string/main_irc))
send2irc(CONFIG_GET(string/main_irc), msg)
return
/proc/send2adminirc(var/msg)
/proc/send2adminirc(msg)
if(CONFIG_GET(string/admin_irc))
send2irc(CONFIG_GET(string/admin_irc), msg)
return
+2 -2
View File
@@ -1,5 +1,5 @@
// Ported from /vg/.
/proc/escape_shell_arg(var/arg)
/proc/escape_shell_arg(arg)
// RCE prevention
// - Encloses arg in single quotes
// - Escapes single quotes
@@ -16,7 +16,7 @@
arg = "'[arg]'"
return arg
/proc/ext_python(var/script, var/arguments, var/scriptsprefix = 1)
/proc/ext_python(script, arguments, scriptsprefix = 1)
return // VOREStation Edit - Can't exploit shell if we never call shell!
/* Unreachable with above vorestation edit
if(scriptsprefix)