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:
parent
301178cc81
commit
2e60f4e600
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user