mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-26 10:48:53 -05:00
Fix typo that made the /ban command fail.
This commit is contained in:
parent
a20116c93d
commit
d021d3eaf0
2
app.js
2
app.js
|
|
@ -606,7 +606,7 @@ function Room(roomid, format, p1, p2, parentid, ranked)
|
||||||
|
|
||||||
function parseCommand(user, cmd, target, room, socket)
|
function parseCommand(user, cmd, target, room, socket)
|
||||||
{
|
{
|
||||||
if (cmd === 1 || cmd === 'b')
|
if (cmd === 'ban' || cmd === 'b')
|
||||||
{
|
{
|
||||||
if (!target) return parseCommand(user, '?', cmd, room, socket);
|
if (!target) return parseCommand(user, '?', cmd, room, socket);
|
||||||
if (user.isMod())
|
if (user.isMod())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user