Merge pull request #2451 from panpawn/patch-98

hotpatch: update staff room faster
This commit is contained in:
Guangcong Luo
2016-03-19 21:12:16 -05:00

View File

@@ -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 + ")");