mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-20 14:08:15 -05:00
Fail copy+paste
This commit is contained in:
parent
106d4f59ab
commit
d5473163e3
|
|
@ -494,7 +494,7 @@ function parseCommandLocal(user, cmd, target, room, socket, message) {
|
|||
socket.emit('console', 'User '+target+' not found.');
|
||||
return false;
|
||||
}
|
||||
var nextGroup = targets[1] ? targets[1] : targetUser.getNextGroupSymbol(true);
|
||||
var nextGroup = targets[1] ? targets[1] : targetUser.getNextGroupSymbol();
|
||||
if (!config.groups[nextGroup]) {
|
||||
socket.emit('console', 'Group \'' + nextGroup + '\' does not exist.');
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user