]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
ReadFlag, oops
[user/henk/code/inspircd.git] / src / users.cpp
index 94b969ca08af2a65defd3f0cc19c0be1cfe1c4b3..550f7cf290b5a20ba9195ef2d8ee41be840cbad6 100644 (file)
@@ -1134,8 +1134,11 @@ void userrec::FullConnect(CullList* Goners)
         * changes dont go out onto the network and produce 'fake direction'.
         */
        FOREACH_MOD(I_OnUserConnect,OnUserConnect(this));
-       FOREACH_MOD(I_OnPostConnect,OnPostConnect(this));
+
        this->registered = REG_ALL;
+
+       FOREACH_MOD(I_OnPostConnect,OnPostConnect(this));
+
        ServerInstance->SNO->WriteToSnoMask('c',"Client connecting on port %d: %s!%s@%s [%s]", this->GetPort(), this->nick, this->ident, this->host, this->GetIPString());
 }