aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_chanlog.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-10-11 19:31:49 +0100
committerGravatar Sadie Powell2024-10-11 19:31:49 +0100
commit0d891e2f43ea6805a7e77fc80bece0c21ba7efda (patch)
treec5bc5c3e601bd0dbdfd0b882090b11f4525d082e /src/modules/m_chanlog.cpp
parentRaise the minimum connectban threshold to 2. (diff)
parentFix chanlog not hiding the local server when hideserver is enabled. (diff)
Merge branch 'insp3' into insp4.
Diffstat (limited to 'src/modules/m_chanlog.cpp')
-rw-r--r--src/modules/m_chanlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp
index 63a1452a5..0de7b932c 100644
--- a/src/modules/m_chanlog.cpp
+++ b/src/modules/m_chanlog.cpp
@@ -75,7 +75,7 @@ public:
auto* c = ServerInstance->Channels.Find(channel);
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);
}