]> git.donarmstrong.com Git - infobot.git/commitdiff
disable nullski hole
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 29 Feb 2004 07:15:04 +0000 (07:15 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 29 Feb 2004 07:15:04 +0000 (07:15 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@916 c11ca15a-4712-0410-83d8-924469b57eb5

src/CommandStubs.pl

index bc6f7534b3467085bc3f7201e4b6ecfc13f23c55..6bf5cc0200619b1c59493d7085e2e5ce970904db 100644 (file)
@@ -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;