summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-08 15:57:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-08 15:57:01 +0000
commitc8bca463cdd32c1b18a8f12cb9abc4a5d1717fee (patch)
tree17b8f0a578e513010337455c18576baf9487f616
parent03deb8f900724fa2bd5ac8d509dae64b511b7bcc (diff)
Report invalid nicknames back to oper
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5166 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_sanick.cpp4
1 files changed, 4 insertions, 0 deletions
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;
}