Skip to content

Commit

Permalink
Fix chanlog not hiding the local server when hideserver is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
SadieCat committed Oct 11, 2024
1 parent 896ed2b commit 18166ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/m_chanlog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 18166ed

Please sign in to comment.