mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
no strict match on chan
This commit is contained in:
parent
a7ccb5ff14
commit
881f828f34
@ -131,7 +131,7 @@ var atheme = function(dbot) {
|
||||
}
|
||||
} else { // PRIVMSG
|
||||
var akill = event.message.match(/([^ ]+) AKILL:ADD: ([^ ]+) \(reason: (.+)(\) )\(duration: ([^,)]+)/);
|
||||
if(event.channel === '#services' && akill) {
|
||||
if(event.channel == '#services' && akill) {
|
||||
var channel = dbot.config.servers[server].admin_channel;
|
||||
dbot.api.report.notify('ban', 'tripsit', akill[1], channel, dbot.t('akill', {
|
||||
'host': akill[2],
|
||||
|
Loading…
Reference in New Issue
Block a user