From e357c3048e7a01ed8bd12f9592a96b618e089964 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 29 Aug 2006 19:38:46 +0000 Subject: The rest of snomask +x (i think) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5068 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_zline.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cmd_zline.cpp') 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 { -- cgit v1.2.3