mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-03 09:33:11 +02:00
,
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user