r5817 - trunk/server/rcon2irc

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Feb 9 19:38:01 EST 2009


Author: mand1nga
Date: 2009-02-09 19:38:00 -0500 (Mon, 09 Feb 2009)
New Revision: 5817

Modified:
   trunk/server/rcon2irc/rcon2irc.pl
Log:
fixed msg when changing nick (courtesy of Surb and/or -z-)

Modified: trunk/server/rcon2irc/rcon2irc.pl
===================================================================
--- trunk/server/rcon2irc/rcon2irc.pl	2009-02-09 20:08:06 UTC (rev 5816)
+++ trunk/server/rcon2irc/rcon2irc.pl	2009-02-10 00:38:00 UTC (rev 5817)
@@ -1241,7 +1241,7 @@
 	[ dp => q{:name:(\d+):(.*)} => sub {
 		my ($id, $nick) = @_;
 		$nick = color_dp2irc $nick;
-		my $oldnick = $store{"playernick_$id"};
+		my $oldnick = $store{"playernick_byid_$id"};
 		out irc => 0, "PRIVMSG $config{irc_channel} :* $oldnick\017 is now known as $nick";
 		$store{"playernick_byid_$id"} = $nick;
 		return 0;




More information about the nexuiz-commits mailing list