]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_user.c
Fix some split servers not appearing in oper /map.
[irc/rqf/shadowircd.git] / src / s_user.c
index 58b05681a686ee9c4a7775ceb5543998edfab0a5..3ef38c8e45faba603d4ed0436ef873da209a7fcd 100644 (file)
@@ -398,7 +398,7 @@ register_local_user(struct Client *client_p, struct Client *source_p, const char
         */
        /* Except "F:" clients */
        if(dlink_list_length(&lclient_list) >=
-           (unsigned long)GlobalSetOptions.maxclients && !IsExemptLimits(source_p))
+           (unsigned long)GlobalSetOptions.maxclients && !IsConfExemptLimits(aconf))
        {
                sendto_realops_snomask(SNO_FULL, L_ALL,
                                     "Too many clients, rejecting %s[%s].", source_p->name, source_p->host);
@@ -811,7 +811,7 @@ report_and_set_user_flags(struct Client *source_p, struct ConfItem *aconf)
        if(IsConfExemptKline(aconf))
        {
                SetExemptKline(source_p);
-               sendto_one_notice(source_p, ":*** You are exempt from K/D/G/X lines. congrats.");
+               sendto_one_notice(source_p, ":*** You are exempt from K/G/X lines. congrats.");
        }
 
        if(IsConfExemptGline(aconf))
@@ -831,7 +831,6 @@ report_and_set_user_flags(struct Client *source_p, struct ConfItem *aconf)
        /* If this user is exempt from user limits set it F lined" */
        if(IsConfExemptLimits(aconf))
        {
-               SetExemptLimits(source_p);
                sendto_one_notice(source_p, ":*** You are exempt from user limits. congrats.");
        }