summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-09 23:07:37 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-09 23:07:37 +0200
commit58b43c90ef7435713213015848eaf0486fab0b8f (patch)
treeb614194626a5426f74b2912650e3312c1f99d49c
parent8e44e8a62cf3509d1b0ba5dd4d0d24be0f5b4fde (diff)
quakeauth plugin: don't identify on connect if we're not on quakenet
-rw-r--r--data/rbot/plugins/quakeauth.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/quakeauth.rb b/data/rbot/plugins/quakeauth.rb
index b4b8b8d6..03c82400 100644
--- a/data/rbot/plugins/quakeauth.rb
+++ b/data/rbot/plugins/quakeauth.rb
@@ -45,7 +45,7 @@ class QPlugin < Plugin
end
def connect
- identify(nil, nil)
+ identify(nil, nil) if on_quakenet?
end
def identify(m, params)