aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterServer/TCP/ListCompiler.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MasterServer/TCP/ListCompiler.pm')
-rwxr-xr-xlib/MasterServer/TCP/ListCompiler.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MasterServer/TCP/ListCompiler.pm b/lib/MasterServer/TCP/ListCompiler.pm
index 56bb256..1863757 100755
--- a/lib/MasterServer/TCP/ListCompiler.pm
+++ b/lib/MasterServer/TCP/ListCompiler.pm
@@ -93,7 +93,7 @@ sub compile_sync {
for my $g (@games) {
# $g is now a gamename -- check if it's supported. Else ignore.
- if (exists $self->{game}->{$g}) {
+ if (length $self->get_cipher(lc $g) > 1) {
# get list from database
my $list = $self->get_game_list($g);