Merge pull request #207 from charybdis-ircd/jevolk-patch-1

authd: Fix use after reference count decrement.
This commit is contained in:
William Pitcock 2016-08-05 23:07:00 -05:00 committed by GitHub
commit 980cf654d0

View file

@ -250,8 +250,8 @@ blacklist_dns_callback(const char *result, bool status, query_type type, void *d
{
/* Match found, so proceed no further */
bl->hits++;
blacklists_cancel(auth);
reject_client(auth, SELF_PID, bl->host, bl->reason);
blacklists_cancel(auth);
return;
}