X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fquakeauth.rb;h=c1a8f9c474c53ab1d720a7e2b1de57b32c929b60;hb=052217de30c59206d7025b582d4604557a747470;hp=40b91e11b878fc9308e1379c22ae0b99ec108702;hpb=f6b6be3b0467b1880d13b89e50bdae027e7b0eb4;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/quakeauth.rb b/data/rbot/plugins/quakeauth.rb index 40b91e11..c1a8f9c4 100644 --- a/data/rbot/plugins/quakeauth.rb +++ b/data/rbot/plugins/quakeauth.rb @@ -10,7 +10,7 @@ # Automatically auths with Q on QuakeNet servers class QPlugin < Plugin - + def help(plugin, topic="") case topic when "" @@ -23,7 +23,7 @@ class QPlugin < Plugin return "qauth register : register with Q, an email on how to proceed will be sent to the email address you provide" end end - + def initialize super # this plugin only wants to store strings! @@ -43,7 +43,7 @@ class QPlugin < Plugin @registry['quakenet.auth'] = params[:password] m.okay end - + def connect identify(nil, {}) if on_quakenet? end