forked from GitHub/dbot
command can use nickserv [#421]
This commit is contained in:
parent
301178cc81
commit
2e60f4e600
@ -18,6 +18,7 @@ var nickserv = function(dbot) {
|
|||||||
statusRegex = this.config.servers[event.server].matcher,
|
statusRegex = this.config.servers[event.server].matcher,
|
||||||
acceptableState = this.config.servers[event.server].acceptableState;
|
acceptableState = this.config.servers[event.server].acceptableState;
|
||||||
|
|
||||||
|
|
||||||
if(event.user == nickserv) {
|
if(event.user == nickserv) {
|
||||||
var info = event.params.match(statusRegex);
|
var info = event.params.match(statusRegex);
|
||||||
if(info && _.has(this.authStack, event.server)) {
|
if(info && _.has(this.authStack, event.server)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user