]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
nickserv plugin: more liberal default identified string
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 23 Jun 2010 21:40:28 +0000 (23:40 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 23 Jun 2010 21:40:28 +0000 (23:40 +0200)
data/rbot/plugins/nickserv.rb

index 2525793b93994d321fc60a7556cddfaa10a089a6..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"))