]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/nickserv.rb
plugin(points): new message parser, see #34
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / nickserv.rb
index 6f8b3a724977a75989863a886444c1fc08d53d97..2d565d00f5ee2d0e3f327b1a047c83bb92040a99 100644 (file)
@@ -35,7 +35,7 @@ class NickServPlugin < Plugin
     :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"