From 259c98fddbf7e70d394cb58b11af56af8695e251 Mon Sep 17 00:00:00 2001 From: dondelelcaro Date: Thu, 6 Mar 2014 20:34:01 +0000 Subject: [PATCH] strip out chan after results git-svn-id: https://svn.code.sf.net/p/infobot/code/branches/don/dpkg@1936 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Factoids/Question.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Factoids/Question.pl b/src/Factoids/Question.pl index 1b4d823..276f9e8 100644 --- a/src/Factoids/Question.pl +++ b/src/Factoids/Question.pl @@ -224,6 +224,7 @@ sub factoidArgs { foreach ( sort { length($b) <=> length($a) } @list ) { next if (/#DEL#/); # deleted. + s/^\Q$chan \E//i; s/^cmd: //i; # &DEBUG("factarg: '$str' =~ /^$_\$/"); -- 2.39.2