summaryrefslogtreecommitdiffstats
path: root/modules/services.pl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services.pl')
-rw-r--r--modules/services.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/services.pl b/modules/services.pl
index e80923a..3ec9436 100644
--- a/modules/services.pl
+++ b/modules/services.pl
@@ -14,11 +14,11 @@ sub doServices {
if ($event->{from} eq 'NickServ!NickServ@services.')
{
print "NickServ: $event->{args}->[0]\n";
- if ( $event->{args}->[0] eq 'This nickname is owned by someone else' )
+ if ( $event->{args}->[0] eq 'This nickname is registered' )
{
$conn->privmsg( 'NickServ', "identify $::settings->{pass}" );
}
- elsif ( $event->{args}->[0] eq 'Password accepted - you are now recognized' )
+ elsif ( $event->{args}->[0] =~ /^You are now identified/ )
{
$conn->join($_) foreach ( @{$::settings->{autojoins}} );
}