diff --git a/CHANGES b/CHANGES index 7eebe582..b1ddb711 100644 --- a/CHANGES +++ b/CHANGES @@ -3,7 +3,7 @@ Changes for 2.2.0: rasengan (2): Added /stats P to show listening ports (PR #134) -Ryan Smith (8): +Ryan Smith (9): Override clone limits with SVSCLONE (PR #148) Updates to user hostmasking (PR #175) Do not attempt to mask the Staff_Address for opers. (PR #175) @@ -12,6 +12,7 @@ Ryan Smith (8): Do not allow user mode H to be changed if the user is in any channels. This is to prevent potential client-side weirdness from happening if a user's host changes while they're already in one or more channels. (PR #175) Send out WATCH notifications if the hostname changes due to a mode H change. (PR #175) Minor typo fixes. + Show UHM variables in /INFO. Emilio Escobar (4): Fixed oper block corruption when two opers share the same IP (PR #181) diff --git a/src/s_serv.c b/src/s_serv.c index 3371f2ee..641e419e 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -57,6 +57,8 @@ static char buf[BUFSIZE]; extern int rehashed; extern int forked; +extern int uhm_type; +extern int uhm_umodeh; /* external variables */ @@ -448,14 +450,14 @@ m_info(aClient *cptr, aClient *sptr, int parc, char *parv[]) sendto_one(sptr, ":%s %d %s :zlib version: %s", me.name, RPL_INFO, parv[0], ZLIB_VERSION); sendto_one(sptr, ":%s %d %s :FD_SETSIZE=%d WRITEV_IOV=%d " - "MAXCONNECTIONS=%d MAX_BUFFER=%d MAXCLIENTS=%d", + "MAXCONNECTIONS=%d MAX_BUFFER=%d MAXCLIENTS=%d uhm_type=%d uhm_umodeh=%d", me.name, RPL_INFO, parv[0], FD_SETSIZE, #ifdef WRITEV_IOV WRITEV_IOV, #else 0, #endif - MAXCONNECTIONS, MAX_BUFFER, MAXCLIENTS); + MAXCONNECTIONS, MAX_BUFFER, MAXCLIENTS, uhm_type, uhm_umodeh); } sendto_one(sptr, rpl_str(RPL_INFO), me.name, parv[0], "");