From e28c53ea4371d89d0c2715fa724d55e4aee879bf Mon Sep 17 00:00:00 2001 From: timriker Date: Tue, 23 Dec 2003 19:44:49 +0000 Subject: [PATCH] broken nick change for multiple nicks git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@911 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/IRC/Irc.pl | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/blootbot/src/IRC/Irc.pl b/blootbot/src/IRC/Irc.pl index 7d08193..f230cf7 100644 --- a/blootbot/src/IRC/Irc.pl +++ b/blootbot/src/IRC/Irc.pl @@ -623,20 +623,21 @@ sub nick { # return; } - if ($nick =~ /^$mask{nick}$/) { - &rawout("NICK ".$nick); - - if (defined $ident) { - &status("nick: Changing nick to $nick (from $ident)"); - # following shouldn't be here :( - $ident = $nick; - } else { - &DEBUG("first time nick change."); - $ident = $nick; - } - - return 1; - } +# FIXME broken for multiple nicks +# if ($nick =~ /^$mask{nick}$/) { +# &rawout("NICK ".$nick); +# +# if (defined $ident) { +# &status("nick: Changing nick to $nick (from $ident)"); +# # following shouldn't be here :( +# $ident = $nick; +# } else { +# &DEBUG("first time nick change."); +# $ident = $nick; +# } +# +# return 1; +# } &DEBUG("nick: failed... why oh why (nick => $nick)"); return 0; -- 2.39.5