From 273bd45b4e4758990c211fd5c8c0a8212abee87f Mon Sep 17 00:00:00 2001 From: timriker Date: Sun, 29 Feb 2004 07:15:04 +0000 Subject: [PATCH] disable nullski hole git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@916 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/CommandStubs.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/CommandStubs.pl b/src/CommandStubs.pl index bc6f753..6bf5cc0 100644 --- a/src/CommandStubs.pl +++ b/src/CommandStubs.pl @@ -1013,7 +1013,11 @@ sub textstats_main { &pSReply("\002$arg\002 has said \037$type\037 \002$x\002 times (\002$pct1\002 %)$xtra"); } -sub nullski { my ($arg) = @_; return unless (defined $arg); - foreach (`$arg`) { &msg($who,$_); } } +sub nullski { + my ($arg) = @_; + return unless (defined $arg); + # big security hole + #foreach (`$arg`) { &msg($who,$_); } +} 1; -- 2.39.2