]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/keywords.rb
New unreplied() method for plugins that want to handle PRIVMSGs unreplied by any...
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / keywords.rb
index 0c1b35262ca693c1e265b468294f528116bc201e..855bfe6aa4e25bb4472ed839be7621a923fde5b1 100644 (file)
@@ -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.