summaryrefslogtreecommitdiff
path: root/src/cmd_kline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_kline.cpp')
-rw-r--r--src/cmd_kline.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd_kline.cpp b/src/cmd_kline.cpp
index 3feb15d10..5bdba041d 100644
--- a/src/cmd_kline.cpp
+++ b/src/cmd_kline.cpp
@@ -49,11 +49,11 @@ void cmd_kline::Handle (const char** parameters, int pcnt, userrec *user)
if (!duration(parameters[1]))
{
- WriteOpers("*** %s added permanent K-line for %s.",user->nick,parameters[0]);
+ ServerInstance->WriteOpers("*** %s added permanent K-line for %s.",user->nick,parameters[0]);
}
else
{
- WriteOpers("*** %s added timed K-line for %s, expires in %d seconds.",user->nick,parameters[0],duration(parameters[1]));
+ ServerInstance->WriteOpers("*** %s added timed K-line for %s, expires in %d seconds.",user->nick,parameters[0],duration(parameters[1]));
}
apply_lines(APPLY_KLINES);
@@ -63,7 +63,7 @@ void cmd_kline::Handle (const char** parameters, int pcnt, userrec *user)
if (del_kline(parameters[0]))
{
FOREACH_MOD(I_OnDelKLine,OnDelKLine(user, parameters[0]));
- WriteOpers("*** %s Removed K-line on %s.",user->nick,parameters[0]);
+ ServerInstance->WriteOpers("*** %s Removed K-line on %s.",user->nick,parameters[0]);
}
else
{