1
0
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:
Bram Matthys
2006-04-09 18:40:42 +00:00
parent eee6d3c8d1
commit 5f6f296cac
2 changed files with 2 additions and 11 deletions
+2
View File
@@ -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
View File
@@ -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