summaryrefslogtreecommitdiff
path: root/src/modules/m_cgiirc.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-01 22:20:37 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-01 22:20:37 +0000
commitd4897f7bde804a7525597e59a802efdf072b4aeb (patch)
treee61b65e65329681c72b7bdec5af5eba553fd521c /src/modules/m_cgiirc.cpp
parent18ab1f358acd2ccdd2f95054ec56b83f17f18ddd (diff)
Fix CGI:IRC user class not being changed based on their real IP when it is changed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11988 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
-rw-r--r--src/modules/m_cgiirc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index 49a96c42d..cc1e34368 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -272,6 +272,7 @@ public:
cmd.webirc_ip.unset(user);
ServerInstance->Users->AddLocalClone(user);
ServerInstance->Users->AddGlobalClone(user);
+ user->SetClass();
user->CheckClass();
user->CheckLines(true);
}
@@ -292,6 +293,7 @@ public:
valid = user->SetClientIP(user->password.c_str());
ServerInstance->Users->AddLocalClone(user);
ServerInstance->Users->AddGlobalClone(user);
+ user->SetClass();
user->CheckClass();
if (valid)
@@ -350,6 +352,7 @@ public:
user->SetClientIP(newipstr);
ServerInstance->Users->AddLocalClone(user);
ServerInstance->Users->AddGlobalClone(user);
+ user->SetClass();
user->CheckClass();
user->host = newipstr;
user->dhost = newipstr;