aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterServer/UDP/BeaconCatcher.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MasterServer/UDP/BeaconCatcher.pm')
-rwxr-xr-xlib/MasterServer/UDP/BeaconCatcher.pm9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/MasterServer/UDP/BeaconCatcher.pm b/lib/MasterServer/UDP/BeaconCatcher.pm
index 5c4ff5f..7c98f57 100755
--- a/lib/MasterServer/UDP/BeaconCatcher.pm
+++ b/lib/MasterServer/UDP/BeaconCatcher.pm
@@ -65,8 +65,13 @@ sub on_beacon_receive {
if ($b =~ m/\\heartbeat\\/ && $b =~ m/\\gamename\\/);
# if other masterservers check if we're still alive
- $self->process_udp_secure($udp, $pa, $b, $peer_addr)
- if ($b =~ m/\\secure\\/ || $b =~ m/\\basic\\/ || $b =~ m/\\status\\/ || $b =~ m/\\info\\/);
+ $self->handle_status_query($udp, $pa, $b, $peer_addr)
+ if ($b =~ m/\\secure\\/ ||
+ $b =~ m/\\basic\\/ ||
+ $b =~ m/\\info\\/ ||
+ $b =~ m/\\rules\\/ ||
+ $b =~ m/\\players\\/||
+ $b =~ m/\\status\\/);
}
1;