From d77c710b4bd58e1c136f1b0c8c27f383b6eab9f5 Mon Sep 17 00:00:00 2001 From: dms Date: Sat, 17 Feb 2001 13:40:08 +0000 Subject: [PATCH] literal update git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@398 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Factoids/Reply.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blootbot/src/Factoids/Reply.pl b/blootbot/src/Factoids/Reply.pl index d0375be..5e219f4 100644 --- a/blootbot/src/Factoids/Reply.pl +++ b/blootbot/src/Factoids/Reply.pl @@ -19,7 +19,6 @@ sub getReply { my($message) = @_; my($lhs,$mhs,$rhs); my($result,$reply); - my $literal = 0; $orig{message} = $message; if (!defined $message or $message =~ /^\s*$/) { @@ -33,6 +32,8 @@ sub getReply { $lhs = $message; $mhs = "is"; $rhs = $result; + + return "$lhs $mhs $rhs" if ($literal); } else { return ''; } -- 2.39.5