From 881f828f346af7bdaa80655aedd55487b3bfc95b Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 3 Oct 2014 20:56:11 +0000 Subject: [PATCH] no strict match on chan --- modules/atheme/atheme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/atheme/atheme.js b/modules/atheme/atheme.js index c421689..93afbd7 100644 --- a/modules/atheme/atheme.js +++ b/modules/atheme/atheme.js @@ -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],