1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 02:23:12 +02:00

- And another one, should be fixed now.

This commit is contained in:
Bram Matthys
2004-05-31 18:49:26 +00:00
parent facf1d62ef
commit bfde79e41d
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -3221,3 +3221,4 @@ This is the 3.2 fixes branch.
- Made socket errors correctly reported under Win32. Thanks to Microsoft for deciding
that having a way to get a socket error string was unnecessary.
- Fixed a NICKIP bug regarding passing along IPs (#0001846) reported by Troco
- And another one, should be fixed now.
+1 -1
View File
@@ -212,7 +212,7 @@ extern void get_sockhost(aClient *, char *);
#ifndef _WIN32
extern char *strerror(int);
#else
extern __declspec(dllexport) char *sock_strerror(int);
extern MODFUNC char *sock_strerror(int);
#endif
extern int dgets(int, char *, int);
extern char *inetntoa(char *);
+1 -1
View File
@@ -1089,7 +1089,7 @@ extern int register_user(aClient *cptr, aClient *sptr, char *nick, char *usernam
/* Here pig.. yeah you .. -Stskeeps */
sptr->user->virthost = strdup(virthost);
}
if (ip)
if (ip && (*ip != '*'))
sptr->user->ip_str = strdup(decode_ip(ip));
}
+1 -1
View File
@@ -1882,7 +1882,7 @@ char *decode_ip(char *buf)
else if (len == 8) /* IPv4 */
return inet_ntoa(*(struct in_addr *)targ);
else /* Error?? */
return NULL;
abort();
}
/* IPv6 stuff */