3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 19:52:36 +01:00

command can use nickserv [#421]

This commit is contained in:
reality 2013-04-23 19:07:23 +00:00 committed by Douglas Gardner
parent 301178cc81
commit 2e60f4e600

View File

@ -18,6 +18,7 @@ var nickserv = function(dbot) {
statusRegex = this.config.servers[event.server].matcher,
acceptableState = this.config.servers[event.server].acceptableState;
if(event.user == nickserv) {
var info = event.params.match(statusRegex);
if(info && _.has(this.authStack, event.server)) {