summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/karma.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/karma.rb b/data/rbot/plugins/karma.rb
index 60b1dcf8..2bd5f9f7 100644
--- a/data/rbot/plugins/karma.rb
+++ b/data/rbot/plugins/karma.rb
@@ -60,7 +60,7 @@ class KarmaPlugin < Plugin
end
def listen(m)
- return unless m.kind_of?(PrivMessage) && m.public?
+ return unless m.kind_of?(PrivMessage) && m.public? && m.message.match(/\+\+|--/)
arg = nil
op = nil
ac = Hash.new