summaryrefslogtreecommitdiff
path: root/modules/commands/ns_release.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_release.cpp')
-rw-r--r--modules/commands/ns_release.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/commands/ns_release.cpp b/modules/commands/ns_release.cpp
index eb8a42729..0fdc2517c 100644
--- a/modules/commands/ns_release.cpp
+++ b/modules/commands/ns_release.cpp
@@ -103,6 +103,8 @@ class NSRelease : public Module
{
this->SetAuthor("Anope");
+ if (Config->NoNicknameOwnership)
+ throw ModuleException(modname + " can not be used with options:nonicknameownership enabled");
}
};