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