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_ghost.cpp | |
parent | 53275c362c521807b70e1eb7cf936f35593dd4dc (diff) |
Added options:nonicknameownership config option
Diffstat (limited to 'modules/commands/ns_ghost.cpp')
-rw-r--r-- | modules/commands/ns_ghost.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/commands/ns_ghost.cpp b/modules/commands/ns_ghost.cpp index db4ff1dcd..a03ca9a3f 100644 --- a/modules/commands/ns_ghost.cpp +++ b/modules/commands/ns_ghost.cpp @@ -115,6 +115,8 @@ class NSGhost : public Module { this->SetAuthor("Anope"); + if (Config->NoNicknameOwnership) + throw ModuleException(modname + " can not be used with options:nonicknameownership enabled"); } }; |