From: Daniel De Graaf Date: Wed, 31 Mar 2010 23:18:07 +0000 (-0500) Subject: Prevent pre-registration connect blocks from being used post-registration X-Git-Tag: v2.0.23~909 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=a72520a03c2176f0a99a2dbe2f3c4b4c6a95a3e1;p=user%2Fhenk%2Fcode%2Finspircd.git Prevent pre-registration connect blocks from being used post-registration --- 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();