]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/nickserv.rb
plugin(quotes): use registry for storage see #42
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / nickserv.rb
index 768840d38522b13ce73fd986816c5ae0966e7a88..2d565d00f5ee2d0e3f327b1a047c83bb92040a99 100644 (file)
@@ -30,12 +30,12 @@ class NickServPlugin < Plugin
     :on_change => Proc.new { |bot, v| bot.plugins.delegate "set_ident_request", v },
     :desc => _("String to look for to see if the nick server is asking us to identify"))
   Config.register Config::StringValue.new('nickserv.nick_avail',
-    :default => "not (currently )?online|killed|recovered|disconnesso|libero",
+    :default => "not (currently )?online|killed|ghosted|recovered|disconnesso|libero",
     :requires_restart => false,
     :on_change => Proc.new { |bot, v| bot.plugins.delegate "set_nick_avail", v },
     :desc => _("String to look for to see if the nick server is informing us that our nick is now available"))
   Config.register Config::StringValue.new('nickserv.identified_string',
-    :default => "((Password|Contrase|Mot de passe).+(acce[pt]t|r[ie]cog?n).+)?(you|tu|vous).+(identif|r[ie]cog?n)",
+    :default => "((Password|Contrase|Mot de passe).+(acce[pt]t|r[ie]cog?n).+)?(you|tu|vous|now|adesso).+(identif|r[ie]cog?n)",
     :requires_restart => false,
     :on_change => Proc.new { |bot, v| bot.plugins.delegate "set_identified_string", v },
     :desc => _("String to look for to see if the nick server is informing us that we have identified successfully"))
@@ -51,7 +51,7 @@ class NickServPlugin < Plugin
   def help(plugin, topic="")
     case topic
     when ""
-      return _("nickserv plugin: handles nickserv protected IRC nicks. topics password, register, identify, listnicks")
+      return _("nickserv plugin: handles nickserv protected IRC nicks. topics: password, register, identify, listnicks")
     when "password"
       return _("nickserv password [<nick>] <passwd>: remember the password for nick <nick> and use it to identify in future")
     when "register"