mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Add the user IP address to the chancreate message.
This commit is contained in:
parent
f2e8c45dbf
commit
0d11ccf609
@ -42,7 +42,8 @@ public:
|
|||||||
{
|
{
|
||||||
if ((created) && (IS_LOCAL(memb->user)))
|
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user