fixed maplist name

This commit is contained in:
Steffen Schröder 2014-05-15 14:32:07 +02:00
parent ee49956058
commit 62d8feeb47

View File

@ -257,7 +257,7 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb
if (strstr($chatCommand[1], '.txt')) {
$maplist = $chatCommand[1];
} else {
$maplist = $chatCommand . '.txt';
$maplist = $chatCommand[1] . '.txt';
}
} else {
$maplist = 'maplist.txt';