update nicklist on nickchange
Status: Abandoned
Brought to you by:
sgorpi
It doesn't update the nicklist when someone changes his
nick. You have to replace in main.php in this part the
last line (not the line with the ending bracket):
elseif (preg_match("/:([^!]+)![^\s]+ NICK :(.+)/", $out,
$matches)) {
if ($nick == $matches[1]) {
echo "<font color='$ircColors[3]'>-=- You
are now known as $matches[2]</font><br>";
} else {
echo "<font color='$ircColors[3]'>-=-
$matches[1] is now known as $matches[2]</font><br>";
}
fputs($socket, "NAMES $matches[2]\r\n");
}
new last line: fputs($socket, "NAMES $channel\r\n");
Logged In: NO
I fixed mine by adding the line
irc_write($socket, "NAMES #$channel\r\n");