mirror of https://github.com/calzoneman/sync.git
Add message for /clear
This commit is contained in:
parent
27e168ba8b
commit
bec55bc3d1
|
@ -461,7 +461,8 @@ ChatModule.prototype.handleCmdClear = function (user, msg, meta) {
|
|||
}
|
||||
|
||||
this.buffer = [];
|
||||
this.channel.broadcastAll("clearchat");
|
||||
this.channel.broadcastAll("clearchat", { clearedBy: user.getName() });
|
||||
this.sendModMessage(user.getName() + " cleared chat.", -1);
|
||||
this.channel.logger.log("[mod] " + user.getName() + " used /clear");
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue