X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/9c05c19cce18b5ca0b89ef3ce212ce9b20e164d4..8ee12f0c437eec8aa42af7b350c7e2a3ccafedbc:/modules/m_kline.c diff --git a/modules/m_kline.c b/modules/m_kline.c index fd9a2059..2f888237 100644 --- a/modules/m_kline.c +++ b/modules/m_kline.c @@ -492,7 +492,7 @@ static void apply_kline(struct Client *source_p, struct ConfItem *aconf, const char *reason, const char *oper_reason, const char *current_date) { - add_conf_by_address(aconf->host, CONF_KILL, aconf->user, aconf); + add_conf_by_address(aconf->host, CONF_KILL, aconf->user, NULL, aconf); write_confitem(KLINE_TYPE, source_p, aconf->user, aconf->host, reason, oper_reason, current_date, 0); } @@ -716,7 +716,7 @@ already_placed_kline(struct Client *source_p, const char *luser, const char *lho else piphost = NULL; - aconf = find_conf_by_address(lhost, NULL, NULL, (struct sockaddr *)piphost, CONF_KILL, t, luser); + aconf = find_conf_by_address(lhost, NULL, NULL, (struct sockaddr *)piphost, CONF_KILL, t, luser, NULL); if (aconf != NULL) { /* The above was really a lookup of a single IP,