aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/ijoin.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-18 03:30:22 +0000
committerGravatar Sadie Powell2022-05-01 22:07:14 +0100
commite23ee3fde17a6bb17a9e56c7105f4bbceb36391f (patch)
treeb5117aa2cc0fe2bee18df3a5dabf0ecc49dbd30e /src/modules/m_spanningtree/ijoin.cpp
parentRewrite the entire logging system. (diff)
Rewrite logging calls to use the new APIs.
Diffstat (limited to 'src/modules/m_spanningtree/ijoin.cpp')
-rw-r--r--src/modules/m_spanningtree/ijoin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/ijoin.cpp b/src/modules/m_spanningtree/ijoin.cpp
index 38d5edebe..1e756b115 100644
--- a/src/modules/m_spanningtree/ijoin.cpp
+++ b/src/modules/m_spanningtree/ijoin.cpp
@@ -32,7 +32,7 @@ CmdResult CommandIJoin::HandleRemote(RemoteUser* user, Params& params)
{
// Desync detected, recover
// Ignore the join and send RESYNC, this will result in the remote server sending all channel data to us
- ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "Received IJOIN for nonexistent channel: " + params[0]);
+ ServerInstance->Logs.Debug(MODNAME, "Received IJOIN for nonexistent channel: " + params[0]);
CmdBuilder("RESYNC").push(params[0]).Unicast(user);
@@ -59,12 +59,12 @@ CmdResult CommandIJoin::HandleRemote(RemoteUser* user, Params& params)
CmdResult CommandResync::HandleServer(TreeServer* server, CommandBase::Params& params)
{
- ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "Resyncing " + params[0]);
+ ServerInstance->Logs.Debug(MODNAME, "Resyncing " + params[0]);
Channel* chan = ServerInstance->Channels.Find(params[0]);
if (!chan)
{
// This can happen for a number of reasons, safe to ignore
- ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "Channel does not exist");
+ ServerInstance->Logs.Debug(MODNAME, "Channel does not exist");
return CmdResult::FAILURE;
}