From 18166edfeb03e1963c07e55fca0800f302de5619 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 11 Oct 2024 19:28:38 +0100 Subject: Fix chanlog not hiding the local server when hideserver is enabled. --- src/modules/m_chanlog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_chanlog.cpp') diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp index 6cdb8d3f8..ae35ebaf7 100644 --- a/src/modules/m_chanlog.cpp +++ b/src/modules/m_chanlog.cpp @@ -74,7 +74,7 @@ class ModuleChanLog : public Module Channel *c = ServerInstance->FindChan(it->second); if (c) { - ClientProtocol::Messages::Privmsg privmsg(ClientProtocol::Messages::Privmsg::nocopy, ServerInstance->Config->ServerName, c, snotice); + ClientProtocol::Messages::Privmsg privmsg(ClientProtocol::Messages::Privmsg::nocopy, ServerInstance->FakeClient, c, snotice); c->Write(ServerInstance->GetRFCEvents().privmsg, privmsg); ServerInstance->PI->SendMessage(c, 0, snotice); } -- cgit v1.3.1-10-gc9f91