]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Show the name of the WebIRC gateway in the IP changing notice.
authorSadie Powell <sadie@witchery.services>
Fri, 5 Feb 2021 23:34:14 +0000 (23:34 +0000)
committerSadie Powell <sadie@witchery.services>
Fri, 5 Feb 2021 23:34:14 +0000 (23:34 +0000)
src/modules/m_cgiirc.cpp

index da89b33eb3d0663bee09accaf132f123a474a398..8bf60bc50146775019be0ddec0a03a1d88818c5a 100644 (file)
@@ -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;