summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-08 15:53:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-08 15:53:24 +0000
commit03deb8f900724fa2bd5ac8d509dae64b511b7bcc (patch)
treea87769cefddd2acc577e73b8740ae460e20becfe /src
parent55143d5f18e82f02b1766e1d2377f099f5a66e6a (diff)
Add failed SANICK notices
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5165 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_sanick.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp
index 65ef97d4b..7ca290846 100644
--- a/src/modules/m_sanick.cpp
+++ b/src/modules/m_sanick.cpp
@@ -57,6 +57,7 @@ class cmd_sanick : public command_t
else
{
/* We couldnt change the nick */
+ ServerInstance->WriteOpers(std::string(user->nick)+" failed SANICK (from "+std::string(parameters[0])+" to "+parameters[1]+")");
userrec::QuitUser(ServerInstance, source, "Nickname collision");
return CMD_FAILURE;
}