Fix bug 2 due to code cleanup yesterday...

This commit is contained in:
Bram Matthys 2018-04-23 08:50:34 +02:00
parent c342b432d1
commit 3a97bc29da
No known key found for this signature in database
GPG key ID: BF8116B163EAAE98

View 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);