summaryrefslogtreecommitdiff
path: root/src/cmd_zline.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-29 19:38:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-29 19:38:46 +0000
commite357c3048e7a01ed8bd12f9592a96b618e089964 (patch)
tree8a89240c757e8b773d52ac75d16b4a1bf9dfdea1 /src/cmd_zline.cpp
parent71364e3d91fd4882672494016b06ee7575cbf8f9 (diff)
The rest of snomask +x (i think)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5068 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_zline.cpp')
-rw-r--r--src/cmd_zline.cpp6
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
{