Add the user IP address to the chancreate message.

This commit is contained in:
Sadie Powell 2025-02-27 15:59:58 +00:00
parent f2e8c45dbf
commit 0d11ccf609

View File

@ -42,7 +42,8 @@ public:
{
if ((created) && (IS_LOCAL(memb->user)))
{
ServerInstance->SNO.WriteGlobalSno('j', "Channel {} created by {}", memb->chan->name, memb->user->GetRealMask());
ServerInstance->SNO.WriteGlobalSno('j', "Channel {} created by {} [{}]",
memb->chan->name, memb->user->GetRealMask(), memb->user->GetAddress());
}
}
};