aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-10-11 19:28:38 +0100
committerGravatar Sadie Powell2024-10-11 19:28:38 +0100
commit18166edfeb03e1963c07e55fca0800f302de5619 (patch)
treec658f0b4d3bbf19abba2d17b4d242a1f02a73a1a /src/modules
parentFix a pgsql module warning when building against recent libpq. (diff)
Fix chanlog not hiding the local server when hideserver is enabled.
Diffstat (limited to 'src/modules')
-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 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);
}