From c9b90909b1a0e0dddf6ce4d5536f807b5e3101ae Mon Sep 17 00:00:00 2001 From: merlijn Date: Thu, 25 Feb 2010 19:01:13 +0000 Subject: [PATCH] oops, had a little bug git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8673 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- server/rcon2irc/fastest_lap.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/rcon2irc/fastest_lap.pl b/server/rcon2irc/fastest_lap.pl index bf08323ba..a1b19f413 100644 --- a/server/rcon2irc/fastest_lap.pl +++ b/server/rcon2irc/fastest_lap.pl @@ -3,7 +3,7 @@ sub out($$@); # chat: Nexuiz server -> IRC channel, fastest record in race and ctf [ dp => q{:recordset:(\d+):(.*)} => sub { my ($id, $record) = @_; - my $nick = $store{"playernick_byid_$id"} || '(console)'; + my $nick = $store{"playernick_byid_$id"}; my $time; if ($record < 60) { @@ -15,9 +15,9 @@ sub out($$@); } if ($store{map} =~ m/^ctf_/) { - out irc => 0, "PRIVMSG $config{irc_channel} :* \00306record\017 $nick\017 set the fastest flag capture record with \00304$time\017 on \00304$store{map}\017"; + out irc => 0, "PRIVMSG $config{irc_channel} :* \00306record\017 $nick\017 set the fastest flag capture record with \00304$time\017 on \00304" . $store{map} . "\017"; } else { - out irc => 0, "PRIVMSG $config{irc_channel} :* \00306record\017 $nick\017 set the fastest lap record with \00304$time\017 on \00304$store{map}\017"; + out irc => 0, "PRIVMSG $config{irc_channel} :* \00306record\017 $nick\017 set the fastest lap record with \00304$time\017 on \00304" . $store{map} . "\017"; } return 0; -- 2.39.2