mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 07:10:46 -05:00
Fix bug in previous commit
This commit is contained in:
@@ -58,6 +58,7 @@ if ($psim) {
|
||||
if ($hyphenpos) {
|
||||
if (substr($server, $hyphenpos + 1) === 'afd') {
|
||||
$afd = true;
|
||||
$server = substr($server, 0, $hyphenpos);
|
||||
} else {
|
||||
$serverport = substr($server, $hyphenpos + 1);
|
||||
$server = substr($server, 0, $hyphenpos);
|
||||
|
||||
Reference in New Issue
Block a user