diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-12-03 23:47:12 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-12-03 23:47:12 +0000 |
commit | 1fc83a678829711a5ec49b23c4459ce7761149b0 (patch) | |
tree | 327e1844bd3335c62aacca7033be58a8d44d4305 /data/rbot/plugins/salut.rb | |
parent | dd8b11c9a65996d62cf6ec15963e99ad6b65b0cc (diff) |
salut plugin: only reply to salutations in unreplied messages
Diffstat (limited to 'data/rbot/plugins/salut.rb')
-rw-r--r-- | data/rbot/plugins/salut.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/salut.rb b/data/rbot/plugins/salut.rb index 2948b2f3..abcb1744 100644 --- a/data/rbot/plugins/salut.rb +++ b/data/rbot/plugins/salut.rb @@ -91,7 +91,7 @@ class SalutPlugin < Plugin @match_langs.uniq!
end
- def listen(m)
+ def unreplied(m)
return if @match.empty?
return unless m.kind_of?(PrivMessage)
return if m.address? and m.plugin == 'config'
|