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=f2faaff7688a8cceec482c0e88cbbdb3ad9c21e1;p=infobot.git allow geeky undeleteing of CMD:s git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@870 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Factoids/Core.pl b/src/Factoids/Core.pl index 2b6c602..b3d009d 100644 --- a/src/Factoids/Core.pl +++ b/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);