]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
Fix bug 2 due to code cleanup yesterday...
authorBram Matthys <redacted>
Mon, 23 Apr 2018 06:50:34 +0000 (08:50 +0200)
committerBram Matthys <redacted>
Mon, 23 Apr 2018 06:50:34 +0000 (08:50 +0200)
src/modules/m_svsnline.c

index 7a3a1b7ba95fe89f12caa2f72809670a7f5523ec..3d403ab014b3b884db79b4760df8fb71d1172b1b 100644 (file)
@@ -63,10 +63,10 @@ void wipe_svsnlines(void)
        
        for (bconf = conf_ban; bconf; bconf = next)
        {
+               next = bconf->next;
                if ((bconf->flag.type == CONF_BAN_REALNAME) &&
                        (bconf->flag.type2 == CONF_BAN_TYPE_AKILL))
                {
-                       next = bconf->next;
                        DelListItem(bconf, conf_ban);
                        safefree(bconf->mask);
                        safefree(bconf->reason);