]> jfr.im git - solanum.git/blobdiff - modules/core/m_nick.c
Merge pull request #335 from edk0/post-registration-delay
[solanum.git] / modules / core / m_nick.c
index 0b2481e4501ca3c3a29374fec4f0bbf54519a25f..09d34df852da8131c25065f821e38dad60976c96 100644 (file)
@@ -122,7 +122,7 @@ mr_nick(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_
        struct Client *target_p;
        char nick[NICKLEN];
 
-       if (strlen(client_p->id) == 3)
+       if (strlen(client_p->id) == 3 || (source_p->preClient && !EmptyString(source_p->preClient->id)))
        {
                exit_client(client_p, client_p, client_p, "Mixing client and server protocol");
                return;