summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}