diff options
Diffstat (limited to 'data/rbot/plugins/karma.rb')
-rw-r--r-- | data/rbot/plugins/karma.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/karma.rb b/data/rbot/plugins/karma.rb index 2bd5f9f7..d8d378e3 100644 --- a/data/rbot/plugins/karma.rb +++ b/data/rbot/plugins/karma.rb @@ -59,8 +59,8 @@ class KarmaPlugin < Plugin "karma module: Listens to everyone's chat. <thing>++/<thing>-- => increase/decrease karma for <thing>, karma for <thing>? => show karma for <thing>, karmastats => show stats. Karma is a community rating system - only in-channel messages can affect karma and you cannot adjust your own." end - def listen(m) - return unless m.kind_of?(PrivMessage) && m.public? && m.message.match(/\+\+|--/) + def message(m) + return unless m.public? && m.message.match(/\+\+|--/) arg = nil op = nil ac = Hash.new |