]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
quakeauth plugin: don't identify on connect if we're not on quakenet
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 9 Aug 2008 21:07:37 +0000 (23:07 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 9 Aug 2008 21:07:37 +0000 (23:07 +0200)
data/rbot/plugins/quakeauth.rb

index b4b8b8d637846f15259daa452fa90de4011dfb4b..03c82400d4329543f9d8e31e6e1e4d0b2228ad27 100644 (file)
@@ -45,7 +45,7 @@ class QPlugin < Plugin
   end
   
   def connect
-    identify(nil, nil)
+    identify(nil, nil) if on_quakenet?
   end
 
   def identify(m, params)