diff options
Diffstat (limited to 'src/cmd_zline.cpp')
-rw-r--r-- | src/cmd_zline.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd_zline.cpp b/src/cmd_zline.cpp index 17fdeed16..145b1ee2e 100644 --- a/src/cmd_zline.cpp +++ b/src/cmd_zline.cpp @@ -41,11 +41,11 @@ void cmd_zline::Handle (const char** parameters, int pcnt, userrec *user) FOREACH_MOD(I_OnAddZLine,OnAddZLine(ServerInstance->Duration(parameters[1]), user, parameters[2], parameters[0])); if (!ServerInstance->Duration(parameters[1])) { - ServerInstance->WriteOpers("*** %s added permanent Z-line for %s.",user->nick,parameters[0]); + ServerInstance->SNO->WriteToSnoMask('x',"%s added permanent Z-line for %s.",user->nick,parameters[0]); } else { - ServerInstance->WriteOpers("*** %s added timed Z-line for %s, expires in %d seconds.",user->nick,parameters[0],ServerInstance->Duration(parameters[1])); + ServerInstance->SNO->WriteToSnoMask('x',"%s added timed Z-line for %s, expires in %d seconds.",user->nick,parameters[0],ServerInstance->Duration(parameters[1])); } ServerInstance->XLines->apply_lines(APPLY_ZLINES); } @@ -54,7 +54,7 @@ void cmd_zline::Handle (const char** parameters, int pcnt, userrec *user) if (ServerInstance->XLines->del_zline(parameters[0])) { FOREACH_MOD(I_OnDelZLine,OnDelZLine(user, parameters[0])); - ServerInstance->WriteOpers("*** %s Removed Z-line on %s.",user->nick,parameters[0]); + ServerInstance->SNO->WriteToSnoMask('x',"%s Removed Z-line on %s.",user->nick,parameters[0]); } else { |