mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-16 09:26:48 -05:00
/modlog in staff room defaults to global
There's /modlog staff, if for whatever reason you need a modlog for the staff room specifically.
This commit is contained in:
parent
aeacf464e1
commit
a61bd2d1d8
|
|
@ -1300,7 +1300,7 @@ var commands = exports.commands = {
|
|||
var lines = 0;
|
||||
// Specific case for modlog command. Room can be indicated with a comma, lines go after the comma.
|
||||
// Otherwise, the text is defaulted to text search in current room's modlog.
|
||||
var roomId = room.id;
|
||||
var roomId = (room.id === 'staff' ? 'global' : room.id);
|
||||
var hideIps = !user.can('ban');
|
||||
var path = require('path');
|
||||
var isWin = process.platform === 'win32';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user