aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-03-31 18:18:07 -0500
committerGravatar Daniel De Graaf2010-03-31 18:18:07 -0500
commita72520a03c2176f0a99a2dbe2f3c4b4c6a95a3e1 (patch)
tree37c5a45f1b98d50e13ab98df8912c3ba313c4915 /src/users.cpp
parentRemove unneeded inet_aton call (diff)
downloadinspircd++-a72520a03c2176f0a99a2dbe2f3c4b4c6a95a3e1.tar.gz
inspircd++-a72520a03c2176f0a99a2dbe2f3c4b4c6a95a3e1.tar.bz2
inspircd++-a72520a03c2176f0a99a2dbe2f3c4b4c6a95a3e1.zip
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();