From 2d309da0f62724f8b775aacb9ab0e28d7977ccd2 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 2 Mar 2013 18:52:15 -0500 Subject: Fix /ns drop nick showing "your nick" and not the nick you specified if the nick isn't registered --- modules/commands/ns_drop.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/commands/ns_drop.cpp') 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; } -- cgit