summaryrefslogtreecommitdiff
path: root/modules/commands/ns_recover.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2013-10-16 06:03:48 +0200
committerDukePyrolator <DukePyrolator@anope.org>2013-10-26 18:33:07 +0200
commit2cfc97053faba7582cd57701900de78ebacb12ce (patch)
treef72e04a159fb5a0e359aeebcf32e9f30a7b7c111 /modules/commands/ns_recover.cpp
parent6cde65a57f60228d15a9d993a31ecf9bf624f592 (diff)
moved some config options from example.conf to nickserv.example.conf
Diffstat (limited to 'modules/commands/ns_recover.cpp')
-rw-r--r--modules/commands/ns_recover.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_recover.cpp b/modules/commands/ns_recover.cpp
index b6cbe2621..5d66b1ad5 100644
--- a/modules/commands/ns_recover.cpp
+++ b/modules/commands/ns_recover.cpp
@@ -208,7 +208,7 @@ class NSRecover : public Module
commandnsrecover(this), recover(this, "recover")
{
- if (Config->GetBlock("options")->Get<bool>("nonicknameownership"))
+ if (Config->GetModule("nickserv")->Get<bool>("nonicknameownership"))
throw ModuleException(modname + " can not be used with options:nonicknameownership enabled");
}