summaryrefslogtreecommitdiff
path: root/modules/chanserv/suspend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/suspend.cpp')
-rw-r--r--modules/chanserv/suspend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/chanserv/suspend.cpp b/modules/chanserv/suspend.cpp
index c686ffdb7..b796b1dc9 100644
--- a/modules/chanserv/suspend.cpp
+++ b/modules/chanserv/suspend.cpp
@@ -189,7 +189,7 @@ class CommandCSSuspend : public Command
ci->c->Kick(NULL, users[i], !reason.empty() ? reason : Language::Translate(users[i], _("This channel has been suspended.")));
}
- logger.Command(LogType::ADMIN, source, ci, _("{source} used {command} on {channel} ({0}), expires on {1}"),
+ logger.Admin(source, ci, _("{source} used {command} on {channel} ({0}), expires on {1}"),
!reason.empty() ? reason : "No reason", expiry_secs ? Anope::strftime(Anope::CurTime + expiry_secs) : "never");
source.Reply(_("Channel \002{0}\002 is now suspended."), ci->GetName());
@@ -236,7 +236,7 @@ class CommandCSUnSuspend : public Command
return;
}
- logger.Command(LogType::ADMIN, source, ci, _("{source} used {command} on {channel} which was suspended by {0} for: {1}"),
+ logger.Admin(source, ci, _("{source} used {command} on {channel} which was suspended by {0} for: {1}"),
si->GetBy(), !si->GetReason().empty() ? si->GetReason() : "No reason");
si->Delete();