summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/karma.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/rbot/plugins/karma.rb b/data/rbot/plugins/karma.rb
index 93cf659b..166a9df4 100644
--- a/data/rbot/plugins/karma.rb
+++ b/data/rbot/plugins/karma.rb
@@ -72,6 +72,9 @@ class KarmaPlugin < Plugin
next if(key == m.sourcenick)
if(change == "++")
@registry[key] += 1
+ if key =~ /^#{@bot.nick}$/i
+ @bot.say m.replyto, @bot.lang.get("thanks")
+ end
elsif(change == "--")
@registry[key] -= 1
end