This commit is contained in:
reality 2015-10-20 18:58:04 +00:00
parent 04d797c6d3
commit 04c411c6c1

View File

@ -56,7 +56,7 @@ var dns = function(dbot) {
commands['~dnsbl'].regex = [/^dnsbl ([\d\w\s\.-]*)/, 2]; commands['~dnsbl'].regex = [/^dnsbl ([\d\w\s\.-]*)/, 2];
this.commands = commands; this.commands = commands;
if(this.config.dnsblconn == true) { if(dbot.config.modules.dns.dnsblconn == true) {
this.listener = function(event) { this.listener = function(event) {
if(event.message.match('CLICONN')) { if(event.message.match('CLICONN')) {
var ip = event.message.match('CLICONN ([^ ]+).*?((?:[0-9]{1,3}\.){3}[0-9]{1,3}) users'); var ip = event.message.match('CLICONN ([^ ]+).*?((?:[0-9]{1,3}\.){3}[0-9]{1,3}) users');