1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 09:33:11 +02:00
This commit is contained in:
stskeeps
2001-11-07 13:25:54 +00:00
parent 2d21f6055d
commit 2a55293bcc
+1 -1
View File
@@ -360,7 +360,7 @@ int m_vhost(aClient *cptr, aClient *sptr, int parc, char *parv[])
return 0;
}
strcpy(host, make_user_host(sptr->user->username, sptr->user->realhost));
strcpy(host2, make_user_host(sptr->user->username, (char *)inet_ntoa(sptr->ip)));
strcpy(host2, make_user_host(sptr->user->username, (char *)Inet_ia2p(&sptr->ip)));
for (from = (ConfigItem_oper_from *)vhost->from; from; from = (ConfigItem_oper_from *)from->next) {
if (!match(from->name, host) || !match(from->name, host2))
break;