summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/karma.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/karma.rb')
-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 166a9df4..f4716e2b 100644
--- a/data/rbot/plugins/karma.rb
+++ b/data/rbot/plugins/karma.rb
@@ -69,7 +69,7 @@ class KarmaPlugin < Plugin
key.sub!(/^\((.*)\)$/, "\1")
key.gsub!(/\s+/, " ")
next unless(key.length > 0)
- next if(key == m.sourcenick)
+ next if(key.downcase == m.sourcenick.downcase)
if(change == "++")
@registry[key] += 1
if key =~ /^#{@bot.nick}$/i