Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.14

Bug #16531 Nickname changes wrong
Submitted: 2009-08-17 19:35 UTC
From: giggsey Assigned: garrettw
Status: Closed Package: Net_SmartIRC (version 1.0.1)
PHP Version: Irrelevant OS: N/A
Roadmaps: 1.1.0    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 25 + 29 = ?

 
 [2009-08-17 19:35 UTC] giggsey (Joshua Gigg)
Description: ------------ Nickname changes are reflected wrong with nickname changes in $irc->channel The first character of the nickname is removed when channel and nickname tracking is enabled. Fix is: open messagehandler.php Line: 101 Replace: $newnick = substr($ircdata->rawmessageex[2], 1); With: $newnick = $ircdata->rawmessageex[2]; NICK doesn't have the : at the start of the nickname.

Comments

 [2009-08-18 20:18 UTC] cweiske (Christian Weiske)
There is probably a reason why substr(.., 1) is in there. Perhaps admins are prefixed with "@"?
 [2009-08-18 20:31 UTC] giggsey (Joshua Gigg)
Nope, the format for a nickname change is :test!ident@host NICK newnick (copied this from the debug outputted) I think it removes the : automatically (before the nick function is called). Well, it must do, as my nicknames don't have a : in
 [2011-05-10 10:35 UTC] garrettw (Garrett Whitehorn)
Taking care of this in a patch I'm working on.
 [2014-02-05 08:22 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2014-02-05 14:24 UTC] garrettw (Garrett Whitehorn)
-Assigned To: doconnor +Assigned To: garrettw