forked from GitHub/dbot
#warn
This commit is contained in:
parent
4aed770b7e
commit
9fe8b3ab43
@ -57,7 +57,7 @@ var commands = function(dbot) {
|
|||||||
|
|
||||||
this.api.quiet(server, host, channel);
|
this.api.quiet(server, host, channel);
|
||||||
|
|
||||||
if(reason !== "N/A") {
|
if(reason.indexOf('#warn') !== -1) {
|
||||||
dbot.api.warning.warn(server, event.rUser, quietee,
|
dbot.api.warning.warn(server, event.rUser, quietee,
|
||||||
'Quieted in ' + channel + ' for ' + reason, channel,
|
'Quieted in ' + channel + ' for ' + reason, channel,
|
||||||
function() {});
|
function() {});
|
||||||
|
Loading…
Reference in New Issue
Block a user