From 884e4a05e6201d600a454c6ac7d3e39733249764 Mon Sep 17 00:00:00 2001
From: timriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Date: Thu, 19 May 2005 06:14:54 +0000
Subject: [PATCH] cmd: editing? or maybe not - dondelelcaro

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1222 c11ca15a-4712-0410-83d8-924469b57eb5
---
 blootbot/src/Factoids/Question.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/blootbot/src/Factoids/Question.pl b/blootbot/src/Factoids/Question.pl
index 1107867..b3c7e23 100644
--- a/blootbot/src/Factoids/Question.pl
+++ b/blootbot/src/Factoids/Question.pl
@@ -188,6 +188,9 @@ sub factoidArgs {
     # TODO: cache this, update cache when altered. !!! !!! !!!
 #    my $t = &timeget();
     my ($first) = split(/\s+/, $str);
+
+    # ignore split to commands [dumb commands vs. factoids] (editing commands?)
+    return undef if $str =~ /\s+\=\~\s+s[\#\/\:]/;
     my @list = &searchTable("factoids", "factoid_key", "factoid_key", "^cmd: $first ");
 #    my $delta_time = &timedelta($t);
 #    &DEBUG("factArgs: delta_time = $delta_time s");
-- 
2.39.5