summaryrefslogtreecommitdiff
path: root/modules/commands/ns_ghost.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-10-22 11:35:31 -0400
committerAdam <Adam@anope.org>2011-10-22 11:35:31 -0400
commit3e2ac3640d186004798269e6ca89938cb1da6f73 (patch)
tree0b08df5e29491dffed1db60b3aa67fffe308df57 /modules/commands/ns_ghost.cpp
parentc8b3809fc93bfcccb354248c17467da9b69e0ebd (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.cpp2
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))