]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/karma.rb
nickserv password now tries to inform the nickserv of the password change; it can...
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / karma.rb
index 93cf659bd82a07564aa4974de723247d86cd88eb..166a9df46a717e3afb4a0da0298e5f6633a35555 100644 (file)
@@ -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