summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-02-05 23:34:14 +0000
committerSadie Powell <sadie@witchery.services>2021-02-05 23:34:14 +0000
commitd3a7ac87cb9ef8687f7fec09f54a570f9858efb4 (patch)
tree9db81726c10c6015d98519be8a5d74ae8e50a271 /src
parentaa4c7489b708eb54856871ecdf2bbde99fde92bc (diff)
Show the name of the WebIRC gateway in the IP changing notice.
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_cgiirc.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index da89b33eb..8bf60bc50 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -173,8 +173,9 @@ class CommandWebIRC : public SplitCommand
realhost.set(user, user->GetRealHost());
realip.set(user, user->GetIPString());
- WriteLog("Connecting user %s is using a WebIRC gateway; changing their IP from %s to %s.",
- user->uuid.c_str(), user->GetIPString().c_str(), parameters[3].c_str());
+ WriteLog("Connecting user %s is using the %s WebIRC gateway; changing their IP from %s to %s.",
+ user->uuid.c_str(), parameters[1].c_str(),
+ user->GetIPString().c_str(), parameters[3].c_str());
// If we have custom flags then deal with them.
WebIRC::FlagMap flags;