From: timriker Date: Wed, 5 Nov 2003 23:59:22 +0000 (+0000) Subject: allow geeky undeleteing of CMD:s X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=57bc4710559878242cb72b813ceac05476fe7adb;p=infobot.git allow geeky undeleteing of CMD:s git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@870 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/Factoids/Core.pl b/blootbot/src/Factoids/Core.pl index 2b6c602..b3d009d 100644 --- a/blootbot/src/Factoids/Core.pl +++ b/blootbot/src/Factoids/Core.pl @@ -307,6 +307,7 @@ sub FactoidStuff { } $faqtoid =~ tr/A-Z/a-z/; + $faqtoid =~ s/^cmd:/CMD:/; # basic command undeleteing my $result = &getFactoid($faqtoid." #DEL#"); my $check = &getFactoid($faqtoid);