mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Fix chanlog not hiding the local server when hideserver is enabled.
This commit is contained in:
parent
896ed2b512
commit
18166edfeb
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user