mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 18:03:13 +02:00
- Removed some odd code causing a 'my port is' message to appear in (f.e.) syslog, reported
by rsc (#0002853).
This commit is contained in:
@@ -1096,3 +1096,5 @@
|
||||
- Added minidump support for crashes to aid debugging a bit.
|
||||
- Added chained SSL certificates support, patch provided by justdave (#0002848).
|
||||
- Local opers may now use /TRACE (local only), suggested by GSF19 (#0002365).
|
||||
- Removed some odd code causing a 'my port is' message to appear in (f.e.) syslog, reported
|
||||
by rsc (#0002853).
|
||||
|
||||
-11
@@ -453,17 +453,6 @@ int inetport(aClient *cptr, char *name, int port)
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
if (cptr == &me) /* KLUDGE to get it work... */
|
||||
{
|
||||
char buf[1024];
|
||||
|
||||
(void)ircsprintf(buf, rpl_str(RPL_MYPORTIS), me.name, "*",
|
||||
ntohs(server.SIN_PORT));
|
||||
(void)write(0, buf, strlen(buf));
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef INET6
|
||||
bcopy(server.sin6_addr.s6_addr, cptr->ip.s6_addr, IN6ADDRSZ);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user