aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-02-27 15:59:58 +0000
committerGravatar Sadie Powell2025-02-27 15:59:58 +0000
commit0d11ccf60905cf1a4ae16b199475466d91327743 (patch)
tree3cdafd1e9e2bd3c1c1fdd8f82d27ae2fb162d3bf
parentRemove log messages about failed DIE and RESTART attempts. (diff)
Add the user IP address to the chancreate message.
-rw-r--r--src/modules/m_chancreate.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_chancreate.cpp b/src/modules/m_chancreate.cpp
index 771ff8935..ca64e1ae9 100644
--- a/src/modules/m_chancreate.cpp
+++ b/src/modules/m_chancreate.cpp
@@ -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());
}
}
};