summaryrefslogtreecommitdiff
path: root/src/cmd_gline.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_gline.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_gline.cpp')
-rw-r--r--src/cmd_gline.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd_gline.cpp b/src/cmd_gline.cpp
index b7c22c467..d167e698b 100644
--- a/src/cmd_gline.cpp
+++ b/src/cmd_gline.cpp
@@ -44,11 +44,11 @@ void cmd_gline::Handle (const char** parameters, int pcnt, userrec *user)
if (!ServerInstance->Duration(parameters[1]))
{
- ServerInstance->WriteOpers("*** %s added permanent G-line for %s.",user->nick,parameters[0]);
+ ServerInstance->SNO->WriteToSnoMask('x',"%s added permanent G-line for %s.",user->nick,parameters[0]);
}
else
{
- ServerInstance->WriteOpers("*** %s added timed G-line for %s, expires in %d seconds.",user->nick,parameters[0],ServerInstance->Duration(parameters[1]));
+ ServerInstance->SNO->WriteToSnoMask('x',"%s added timed G-line for %s, expires in %d seconds.",user->nick,parameters[0],ServerInstance->Duration(parameters[1]));
}
ServerInstance->XLines->apply_lines(APPLY_GLINES);
@@ -58,7 +58,7 @@ void cmd_gline::Handle (const char** parameters, int pcnt, userrec *user)
if (ServerInstance->XLines->del_gline(parameters[0]))
{
FOREACH_MOD(I_OnDelGLine,OnDelGLine(user, parameters[0]));
- ServerInstance->WriteOpers("*** %s Removed G-line on %s.",user->nick,parameters[0]);
+ ServerInstance->SNO->WriteToSnoMask('x',"%s Removed G-line on %s.",user->nick,parameters[0]);
}
else
{