]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
quakeauth: notify when identified
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 30 Apr 2012 12:00:43 +0000 (14:00 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 30 Apr 2012 12:00:43 +0000 (14:00 +0200)
This ensures that joining after identification (config setting
irc.join_after_identify) works correctly with quake auth too.

data/rbot/plugins/quakeauth.rb

index c1a8f9c474c53ab1d720a7e2b1de57b32c929b60..531f14305bd32cc90211b10295039efab5598866 100644 (file)
@@ -79,6 +79,7 @@ class QPlugin < Plugin
         @bot.say @source, "username or password incorrect" if @source
       when /you are now logged in/i
         @bot.say @source, "authed successfully" if @source
+        @bot.plugins.delegate('identified')
       when /auth is not available/
         @bot.say @source, "already authed" if @source
       end