[SimBot-commits] CVS: simbot/plugins services.chanserv.pl,1.4,1.5
Status: Abandoned
Brought to you by:
kstange
|
From: Kevin S. <ks...@us...> - 2005-07-25 13:58:51
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24415/plugins Modified Files: services.chanserv.pl Log Message: and disable case sensitivity on some regex. Index: services.chanserv.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/services.chanserv.pl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -p -r1.4 -r1.5 --- services.chanserv.pl 25 Jul 2005 13:57:20 -0000 1.4 +++ services.chanserv.pl 25 Jul 2005 13:58:43 -0000 1.5 @@ -90,10 +90,10 @@ sub check_response { if ($shut_up) { &request_voice($kernel, undef, $chan); } - } elsif ($text =~ /You have already identified/) { + } elsif ($text =~ /You have already identified/i) { &SimBot::debug(2, "Services reports already logged in.\n"); $logged_in = 1; - } elsif ($text =~ /Access denied./) { + } elsif ($text =~ /Access denied/i) { &SimBot::debug(2, "Services reports not yet logged in.\n"); $logged_in = 0; &services_login($kernel); @@ -106,7 +106,7 @@ sub check_response { my $chan = $1; &SimBot::debug(3, "Services reports successful unban command.\n"); $kernel->post(bot => join => $chan); - } elsif ($text =~ /Password identification is required/) { + } elsif ($text =~ /Password identification is required/i) { &SimBot::debug(2, "Services reports not yet logged in.\n"); $logged_in = 0; &services_login($kernel); |