m_testline.c fixed

This commit is contained in:
Valery Yatsko 2008-04-02 15:27:59 +04:00
parent cd3b9a5e7b
commit ae42901c54
1 changed files with 6 additions and 6 deletions

View File

@ -122,10 +122,10 @@ mo_testline(struct Client *client_p, struct Client *source_p, int parc, const ch
{
#ifdef IPV6
if(type == HM_IPV6)
aconf = find_dline((struct sockaddr *)&ip, AF_INET6);
aconf = find_dline((struct sockaddr *)&ip);
else
#endif
aconf = find_dline((struct sockaddr *)&ip, AF_INET);
aconf = find_dline((struct sockaddr *)&ip);
if(aconf && aconf->status & CONF_DLINE)
{