diff options
author | Adam <Adam@anope.org> | 2011-10-14 12:20:07 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-10-14 12:20:07 -0400 |
commit | ddc3c2f38cf6ddc0c1f8ad82489a281e01ef50fc (patch) | |
tree | 832b02a62d2da9078b7ab5f9d4d5d99e15570294 /modules/commands/ns_set_kill.cpp | |
parent | 53275c362c521807b70e1eb7cf936f35593dd4dc (diff) |
Added options:nonicknameownership config option
Diffstat (limited to 'modules/commands/ns_set_kill.cpp')
-rw-r--r-- | modules/commands/ns_set_kill.cpp | 2 |
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"); } }; |