mirror of
https://github.com/reality/dbot.git
synced 2025-02-17 14:01:04 +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);
|
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…
x
Reference in New Issue
Block a user