mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-07 18:03:12 +02:00
fix DNS (the bug I created a week ago, anyway)
This commit is contained in:
@@ -689,6 +689,8 @@ static int check_init(aClient *cptr, char *sockn, size_t size)
|
||||
struct SOCKADDR_IN sk;
|
||||
int len = sizeof(struct SOCKADDR_IN);
|
||||
|
||||
strlcpy(sockn, cptr->sockhost, HOSTLEN);
|
||||
|
||||
RunHookReturnInt3(HOOKTYPE_CHECK_INIT, cptr, sockn, size, ==0);
|
||||
|
||||
/* Some silly hack to convert 127.0.0.1 and such into 'localhost' */
|
||||
|
||||
Reference in New Issue
Block a user