From: Sadie Powell Date: Fri, 5 Feb 2021 23:34:14 +0000 (+0000) Subject: Show the name of the WebIRC gateway in the IP changing notice. X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=d3a7ac87cb9ef8687f7fec09f54a570f9858efb4;p=user%2Fhenk%2Fcode%2Finspircd.git Show the name of the WebIRC gateway in the IP changing notice. --- 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;