summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2010-03-31 18:18:07 -0500
committerDaniel De Graaf <danieldg@inspircd.org>2010-03-31 18:18:07 -0500
commita72520a03c2176f0a99a2dbe2f3c4b4c6a95a3e1 (patch)
tree37c5a45f1b98d50e13ab98df8912c3ba313c4915 /src/users.cpp
parent52dff8a62000bc38f05005ac0e5142a71a20b614 (diff)
Prevent pre-registration connect blocks from being used post-registration
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 2e2229afa..6f2880659 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -784,6 +784,7 @@ void LocalUser::FullConnect()
* may put the user into a totally seperate class with different restrictions! so we *must* check again.
* Don't remove this! -- w00t
*/
+ MyClass = NULL;
SetClass();
CheckClass();
CheckLines();