mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
#warn
This commit is contained in:
parent
4aed770b7e
commit
9fe8b3ab43
@ -57,7 +57,7 @@ var commands = function(dbot) {
|
||||
|
||||
this.api.quiet(server, host, channel);
|
||||
|
||||
if(reason !== "N/A") {
|
||||
if(reason.indexOf('#warn') !== -1) {
|
||||
dbot.api.warning.warn(server, event.rUser, quietee,
|
||||
'Quieted in ' + channel + ' for ' + reason, channel,
|
||||
function() {});
|
||||
|
Loading…
Reference in New Issue
Block a user