aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cgiirc.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-03-17 06:07:41 +0000
committerGravatar Sadie Powell2021-03-17 06:07:41 +0000
commite2f8e75ab86c484e095ea5723f68a96698abbde2 (patch)
tree2a3e41f51536a8eabb1b6b3c2a5fb47bb1346fdb /src/modules/m_cgiirc.cpp
parentPascalize Get in extension item classes. (diff)
Pascalize Set in extension item classes.
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
-rw-r--r--src/modules/m_cgiirc.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index 566a44b28..ad4eb8d4d 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -247,9 +247,9 @@ class CommandWebIRC : public SplitCommand
}
// The user matched a WebIRC block!
- gateway.set(user, parameters[1]);
- realhost.set(user, user->GetRealHost());
- realip.set(user, user->GetIPString());
+ gateway.Set(user, parameters[1]);
+ realhost.Set(user, user->GetRealHost());
+ realip.Set(user, user->GetIPString());
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(),
@@ -438,8 +438,8 @@ class ModuleCgiIRC
return MOD_RES_PASSTHRU;
// Store the hostname and IP of the gateway for later use.
- cmdwebirc.realhost.set(user, user->GetRealHost());
- cmdwebirc.realip.set(user, user->GetIPString());
+ cmdwebirc.realhost.Set(user, user->GetRealHost());
+ cmdwebirc.realip.Set(user, user->GetIPString());
const std::string& newident = iter->GetIdent();
cmdwebirc.WriteLog("Connecting user %s is using an ident gateway; changing their IP from %s to %s and their ident from %s to %s.",