From: Samual Date: Fri, 6 Jan 2012 15:52:10 +0000 (-0500) Subject: Fix command name in rcon2irc X-Git-Tag: xonotic-v0.6.0~30^2~45 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bac60bded6e202d67c863d0ce4977272e74b60f1;p=xonotic%2Fxonotic.git Fix command name in rcon2irc --- diff --git a/server/rcon2irc/rcon2irc.pl b/server/rcon2irc/rcon2irc.pl index cb800e84..8f7ba049 100755 --- a/server/rcon2irc/rcon2irc.pl +++ b/server/rcon2irc/rcon2irc.pl @@ -919,7 +919,7 @@ sub irc_error() $store{irc_nick} = ""; schedule sub { my ($timer) = @_; - out dp => 0, 'sv_cmd bans', 'status 1', 'log_dest_udp'; + out dp => 0, 'sv_cmd banlist', 'status 1', 'log_dest_udp'; $store{status_waiting} = -1; } => 1; # this will clear irc_error_active @@ -1775,7 +1775,7 @@ out dp => 0, 'echo "Unknown command \"rcon2irc_eval\""'; # assume the server has # not containing our own IP:port, or by rcon2irc_eval not being a defined command). schedule sub { my ($timer) = @_; - out dp => 0, 'sv_cmd bans', 'status 1', 'log_dest_udp', 'rcon2irc_eval set dummy 1'; + out dp => 0, 'sv_cmd banlist', 'status 1', 'log_dest_udp', 'rcon2irc_eval set dummy 1'; $store{status_waiting} = -1; schedule $timer => (exists $store{dp_hostname} ? $config{dp_status_delay} : 1);; } => 1;