From c8bca463cdd32c1b18a8f12cb9abc4a5d1717fee Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 8 Sep 2006 15:57:01 +0000 Subject: Report invalid nicknames back to oper git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5166 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sanick.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp index 7ca290846..60e83a172 100644 --- a/src/modules/m_sanick.cpp +++ b/src/modules/m_sanick.cpp @@ -62,6 +62,10 @@ class cmd_sanick : public command_t return CMD_FAILURE; } } + else + { + user->WriteServ("NOTICE %s :*** Invalid nickname '%s'", user->nick, parameters[1]); + } return CMD_FAILURE; } -- cgit v1.2.3