From dd8b77b9ecfdf0f9456e81aebf7f8cc2dedbfcff Mon Sep 17 00:00:00 2001 From: stskeeps Date: Fri, 25 May 2001 16:30:35 +0000 Subject: [PATCH] - Fixed problem with addto_fdlist(cptr->fd) caused by slotpatch --- Changes | 1 + src/s_serv.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 2545bd096..a8ac038d6 100644 --- a/Changes +++ b/Changes @@ -512,3 +512,4 @@ seen. gmtime warning still there - Fixed /trace problem with slots (idea from ircu2.10.01+winnt) - Fixed listener problem, reported by McSkaf - Minor Win32 bug fix +- Fixed problem with addto_fdlist(cptr->fd) caused by slotpatch diff --git a/src/s_serv.c b/src/s_serv.c index 1ce998b00..7ae0f8dbd 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -1422,7 +1422,7 @@ int m_server_estab(cptr) IRCstats.servers++; IRCstats.unknown--; #ifndef NO_FDLIST - addto_fdlist(cptr->fd, &serv_fdlist); + addto_fdlist(cptr->slot, &serv_fdlist); #endif if ((Find_uline(cptr->name))) cptr->flags |= FLAGS_ULINE;