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;