From 241a1e075cd923c259600e134c3359bdc4a1c7ee Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 29 Nov 2006 22:01:04 +0000 Subject: Add fix suggested by mitch to show when nicks dont exist git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5825 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sapart.cpp | 4 ++++ src/modules/m_saquit.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/modules/m_sapart.cpp b/src/modules/m_sapart.cpp index 9f4e245da..b0f0f9d1c 100644 --- a/src/modules/m_sapart.cpp +++ b/src/modules/m_sapart.cpp @@ -72,6 +72,10 @@ class cmd_sapart : public command_t return CMD_SUCCESS; } + else + { + user->WriteServ("NOTICE %s :*** Invalid nickname or channel", user->nick); + } return CMD_FAILURE; } diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp index 388846803..ef7c54358 100644 --- a/src/modules/m_saquit.cpp +++ b/src/modules/m_saquit.cpp @@ -64,6 +64,10 @@ class cmd_saquit : public command_t return CMD_SUCCESS; } + else + { + user->WriteServ("NOTICE %s :*** Invalid nickname '%s'", user->nick, parameters[0]); + } return CMD_FAILURE; } -- cgit v1.2.3