diff options
Diffstat (limited to 'data/rbot/plugins/nickserv.rb')
-rw-r--r-- | data/rbot/plugins/nickserv.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/nickserv.rb b/data/rbot/plugins/nickserv.rb index 1e419af4..0e5f2e8a 100644 --- a/data/rbot/plugins/nickserv.rb +++ b/data/rbot/plugins/nickserv.rb @@ -157,7 +157,7 @@ class NickServPlugin < Plugin def listen(m) return unless(m.kind_of? NoticeMessage) - if (m.sourcenick == ns_nick && m.message =~ @ident_request) + if (m.sourcenick.downcase == ns_nick.downcase && m.message =~ @ident_request) debug "nickserv asked us to identify for nick #{@bot.nick}" do_identify end |