diff options
Diffstat (limited to 'src')
-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]))) |