git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@367
c11ca15a-4712-0410-83d8-
924469b57eb5
+ my $oldwho = $who;
+ my $oldmtype = $msgType;
+ $who = $target;
my $result = &doQuestion($tell_obj);
my $result = &doQuestion($tell_obj);
- # ^ returns '0' if nothing was found.
+ # ^ returns '0' if nothing was found.
+ $who = $oldwho;
# no such factoid.
if ($result =~ /^0?$/) {
# no such factoid.
if ($result =~ /^0?$/) {
- my $oldwho = $who;
- my $oldmtype = $msgType;
$who = $target;
$msgType = "private";
$who = $target;
$msgType = "private";