]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Prevent pre-registration connect blocks from being used post-registration
authorDaniel De Graaf <danieldg@inspircd.org>
Wed, 31 Mar 2010 23:18:07 +0000 (18:18 -0500)
committerDaniel De Graaf <danieldg@inspircd.org>
Wed, 31 Mar 2010 23:18:07 +0000 (18:18 -0500)
src/users.cpp

index 2e2229afa1b9622e7f47ac9c6d6972276dd08325..6f28806593c8501cdad3b4543eef3540d3a59064 100644 (file)
@@ -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();