aboutsummaryrefslogtreecommitdiffstats
path: root/modules/chanlog.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-11-01 14:35:23 +0000
committerGravatar Sadie Powell2024-11-01 15:53:04 +0000
commit8a3aba4044ee10df332631c4c66ed60299566e58 (patch)
treeafb185a313dff83d61c26e3b95f47b62d3ab5694 /modules/chanlog.cpp
parentDefault <options:extbanformat> to name. (diff)
parentUse fmtlib instead of iostream in ConvToStr where available. (diff)
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/chanlog.cpp')
-rw-r--r--modules/chanlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanlog.cpp b/modules/chanlog.cpp
index 63a1452a5..0de7b932c 100644
--- a/modules/chanlog.cpp
+++ b/modules/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);
}