mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-10-01 13:48:22 -05:00
Merge pull request #2451 from panpawn/patch-98
hotpatch: update staff room faster
This commit is contained in:
@@ -1882,7 +1882,7 @@ exports.commands = {
|
||||
if (!this.can('hotpatch')) return false;
|
||||
|
||||
let staff = Rooms('staff');
|
||||
if (staff) staff.add("(" + user.name + " used /hotpatch " + target + ")");
|
||||
if (staff) staff.add("(" + user.name + " used /hotpatch " + target + ")").update();
|
||||
|
||||
if (target === 'chat' || target === 'commands') {
|
||||
if (Monitor.hotpatchLock) return this.errorReply("Hotpatch has been disabled. (" + Monitor.hotpatchLock + ")");
|
||||
|
||||
Reference in New Issue
Block a user