diff options
author | Adam <Adam@anope.org> | 2011-10-22 11:35:31 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-10-22 11:35:31 -0400 |
commit | 3e2ac3640d186004798269e6ca89938cb1da6f73 (patch) | |
tree | 0b08df5e29491dffed1db60b3aa67fffe308df57 /modules/commands/ns_ghost.cpp | |
parent | c8b3809fc93bfcccb354248c17467da9b69e0ebd (diff) |
Bug #1343 - don't allow recovering and ghosting enforcers
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 a03ca9a3f..02d073a12 100644 --- a/modules/commands/ns_ghost.cpp +++ b/modules/commands/ns_ghost.cpp @@ -34,6 +34,8 @@ class CommandNSGhost : public Command if (!user) source.Reply(NICK_X_NOT_IN_USE, nick.c_str()); + else if (user->server == Me) + source.Reply(_("\2%s\2 is a services enforcer."), user->nick.c_str()); else if (!na) source.Reply(NICK_X_NOT_REGISTERED, nick.c_str()); else if (na->nc->HasFlag(NI_SUSPENDED)) |