r5265 - trunk/Docs/server/rcon2irc

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Dec 18 03:12:28 EST 2008


Author: div0
Date: 2008-12-18 03:12:23 -0500 (Thu, 18 Dec 2008)
New Revision: 5265

Modified:
   trunk/Docs/server/rcon2irc/rcon2irc.pl
Log:
move the # to the place where it belongs :P (just weird output otherwise)


Modified: trunk/Docs/server/rcon2irc/rcon2irc.pl
===================================================================
--- trunk/Docs/server/rcon2irc/rcon2irc.pl	2008-12-18 08:07:53 UTC (rev 5264)
+++ trunk/Docs/server/rcon2irc/rcon2irc.pl	2008-12-18 08:12:23 UTC (rev 5265)
@@ -1009,7 +1009,7 @@
 			$dpreason =~ s/(["\\])/\\$1/g;
 			out dp => 0, "kickban # $id $bantime $mask $dpreason";
 			my $slotnik = "playerslot_$id";
-			out irc => 0, "PRIVMSG $nick :kickbanned $id (@{[color_dp2irc $store{$slotnik}{name}]} @ $store{$slotnik}{ip}), netmask $mask, for $bantime seconds ($reason)";
+			out irc => 0, "PRIVMSG $nick :kickbanned #$id (@{[color_dp2irc $store{$slotnik}{name}]} @ $store{$slotnik}{ip}), netmask $mask, for $bantime seconds ($reason)";
 			return 0;
 		}
 
@@ -1029,7 +1029,7 @@
 		{
 			my ($id) = ($1);
 			out dp => 0, "unban $id";
-			out irc => 0, "PRIVMSG $nick :removed ban #$id ($store{bans}[$id]{ip})";
+			out irc => 0, "PRIVMSG $nick :removed ban $id ($store{bans}[$id]{ip})";
 			return 0;
 		}
 




More information about the nexuiz-commits mailing list