mirror of
https://github.com/matrix-construct/construct
synced 2024-11-20 08:51:18 +01:00
m_testline.c fixed
This commit is contained in:
parent
18d5e9820d
commit
a2d6ed4b25
1 changed files with 6 additions and 6 deletions
|
@ -122,10 +122,10 @@ mo_testline(struct Client *client_p, struct Client *source_p, int parc, const ch
|
||||||
{
|
{
|
||||||
#ifdef IPV6
|
#ifdef IPV6
|
||||||
if(type == HM_IPV6)
|
if(type == HM_IPV6)
|
||||||
aconf = find_dline((struct sockaddr *)&ip, AF_INET6);
|
aconf = find_dline((struct sockaddr *)&ip);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
aconf = find_dline((struct sockaddr *)&ip, AF_INET);
|
aconf = find_dline((struct sockaddr *)&ip);
|
||||||
|
|
||||||
if(aconf && aconf->status & CONF_DLINE)
|
if(aconf && aconf->status & CONF_DLINE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue