summaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/ns_ghost.cpp2
-rw-r--r--modules/commands/ns_recover.cpp2
2 files changed, 4 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))
diff --git a/modules/commands/ns_recover.cpp b/modules/commands/ns_recover.cpp
index a6761db51..fac796c5d 100644
--- a/modules/commands/ns_recover.cpp
+++ b/modules/commands/ns_recover.cpp
@@ -53,6 +53,8 @@ class CommandNSRecover : public Command
User *u2;
if (!(u2 = finduser(nick)))
source.Reply(NICK_X_NOT_IN_USE, nick.c_str());
+ else if (u2->server == Me)
+ source.Reply(_("\2%s\2 has already been recovered."), u2->nick.c_str());
else if (!(na = findnick(u2->nick)))
source.Reply(NICK_X_NOT_REGISTERED, nick.c_str());
else if (na->nc->HasFlag(NI_SUSPENDED))