diff options
-rw-r--r-- | modules/commands/ns_drop.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/commands/ns_drop.cpp b/modules/commands/ns_drop.cpp index a94feefdb..e52ca5681 100644 --- a/modules/commands/ns_drop.cpp +++ b/modules/commands/ns_drop.cpp @@ -34,7 +34,10 @@ class CommandNSDrop : public Command NickAlias *na = NickAlias::Find(!nick.empty() ? nick : source.GetNick()); if (!na) { - source.Reply(NICK_NOT_REGISTERED); + if (!nick.empty()) + source.Reply(NICK_X_NOT_REGISTERED, nick.c_str()); + else + source.Reply(NICK_NOT_REGISTERED); return; } |