diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-08 15:26:44 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-08 15:26:44 +0000 |
commit | 53586eb28c0f76bea537faf6f2a9fc17995eb005 (patch) | |
tree | ed398d95414ceb5386eb54dc2fde3789eab0f9a8 | |
parent | 38456992a31c9a44b552240b2a8f254efcb02485 (diff) |
Correctly put qline notices into xline snomask
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5163 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/cmd_nick.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp index a2337ba08..44d29cbbc 100644 --- a/src/cmd_nick.cpp +++ b/src/cmd_nick.cpp @@ -70,8 +70,8 @@ CmdResult cmd_nick::Handle (const char** parameters, int pcnt, userrec *user) char* mq = ServerInstance->XLines->matches_qline(parameters[0]); if (mq) { - ServerInstance->WriteOpers("*** Q-Lined nickname %s from %s!%s@%s: %s",parameters[0],user->nick,user->ident,user->host,mq); - user->WriteServ("432 %s %s :Invalid nickname: %s",user->nick,parameters[0],mq); + ServerInstance->SNO->WriteToSnoMask('x', "Q-Lined nickname %s from %s!%s@%s: %s", parameters[0], user->nick, user->ident, user->host, mq); + user->WriteServ("432 %s %s :Invalid nickname: %s",user->nick,parameters[0], mq); return CMD_FAILURE; } if ((ServerInstance->FindNick(parameters[0])) && (ServerInstance->FindNick(parameters[0]) != user) && (ServerInstance->IsNick(parameters[0]))) |