summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/keywords.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/rbot/plugins/keywords.rb b/data/rbot/plugins/keywords.rb
index 424df874..38a3ff43 100644
--- a/data/rbot/plugins/keywords.rb
+++ b/data/rbot/plugins/keywords.rb
@@ -33,7 +33,10 @@ class Keyword
ar = Array.new
@values.each { |val|
debug "key #{key}, value #{val}"
- ar << "%s %s %s" % [key, @type, val]
+ vals = val.split(" or ")
+ vals.each { |v|
+ ar << "%s %s %s" % [key, @type, v]
+ }
}
return ar
end