summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-02-15 13:58:15 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-02-15 13:58:15 +0000
commitda4d97f0652bddcee269b6d99863f21a1021056c (patch)
treee490c7c46824a28f2852e3a9a726be77ff2a6564 /data/rbot
parent451bc325030d8149c9354fdd468d71d5d3875d41 (diff)
New unreplied() method for plugins that want to handle PRIVMSGs unreplied by any other plugin. Use it in the keywords plugin
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/keywords.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/keywords.rb b/data/rbot/plugins/keywords.rb
index 0c1b3526..855bfe6a 100644
--- a/data/rbot/plugins/keywords.rb
+++ b/data/rbot/plugins/keywords.rb
@@ -489,8 +489,8 @@ class Keywords < Plugin
end
end
- def listen(m)
- return if m.address?
+ def unreplied(m)
+ # return if m.address?
# in channel message, not to me
# TODO option to do if(m.message =~ /^(.*)$/, ie try any line as a
# keyword lookup.