forked from GitHub/dbot
mesg
This commit is contained in:
parent
04d797c6d3
commit
04c411c6c1
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user