From 9b204a600e2a09758feba9aba53c81486e79a140 Mon Sep 17 00:00:00 2001 From: timriker Date: Wed, 14 Jul 2004 19:36:47 +0000 Subject: [PATCH] literal searches and shows where git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1004 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Factoids/Reply.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/blootbot/src/Factoids/Reply.pl b/blootbot/src/Factoids/Reply.pl index 36d0c11..4457ae1 100644 --- a/blootbot/src/Factoids/Reply.pl +++ b/blootbot/src/Factoids/Reply.pl @@ -29,7 +29,7 @@ sub getReply { $message =~ tr/A-Z/a-z/; $message =~ s/^cmd:/CMD:/; - if (!$literal and &IsChanConf("factoidSearch")) { + if (&IsChanConf("factoidSearch")) { @searches = split(/\s+/, &getChanConf("factoidSearch")); } else { @searches = ('_default'); @@ -131,8 +131,6 @@ sub getReply { } } - return $reply if ($literal); - # remove excessive beginning and end whitespaces. $reply =~ s/^\s+|\s+$//g; -- 2.39.5