diff --git a/Changes b/Changes index 523556db4..90026478d 100644 --- a/Changes +++ b/Changes @@ -2780,3 +2780,6 @@ seen. gmtime warning still there - Added HOOKTYPE_TKL_EXCEPT (arg: cptr, tkline) which is called from find_tkline_match and find_tkline_match_zap. This can be used to add custom TKL exceptions. - Fixed possible compile bug (caused by HOOKTYPE_TKL_EXCEPT). +- Cosmetic 'stats /zip' output change (#0001435). +- Made services admins able to see on which channel services bots are, just + like a netadmins can, suggested by EviL_SmUrF (#0001481). diff --git a/src/modules/m_whois.c b/src/modules/m_whois.c index f85061eb9..275dd775f 100644 --- a/src/modules/m_whois.c +++ b/src/modules/m_whois.c @@ -209,7 +209,7 @@ DLLFUNC int m_whois(aClient *cptr, aClient *sptr, int parc, char *parv[]) showchannel = 1; if ((acptr->umodes & UMODE_HIDEWHOIS) && !IsMember(sptr, chptr) && !IsAnOper(sptr)) showchannel = 0; - if (IsServices(acptr) && !IsNetAdmin(sptr)) + if (IsServices(acptr) && !IsNetAdmin(sptr) && !IsSAdmin(sptr)) showchannel = 0; if (acptr == sptr) showchannel = 1; diff --git a/src/s_serv.c b/src/s_serv.c index 5f741c9df..7a26107a0 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -1563,7 +1563,7 @@ CMD_FUNC(m_netinfo) #ifdef ZIP_LINKS if ((MyConnect(cptr)) && (IsZipped(cptr)) && cptr->zip->in->total_out && cptr->zip->out->total_in) { sendto_realops - ("Zipstats for link to %s: decompressed (in): %01lu/%01lu (%3.1f%%), compressed (out): %01lu/%01lu (%3.1f%%)", + ("Zipstats for link to %s: decompressed (in): %01lu=>%01lu (%3.1f%%), compressed (out): %01lu=>%01lu (%3.1f%%)", get_client_name(cptr, TRUE), cptr->zip->in->total_in, cptr->zip->in->total_out, (100.0*(float)cptr->zip->in->total_in) /(float)cptr->zip->in->total_out, diff --git a/src/s_stats.c b/src/s_stats.c index 6d2c1c5e0..7308f0571 100644 --- a/src/s_stats.c +++ b/src/s_stats.c @@ -1356,7 +1356,7 @@ int stats_zip(aClient *sptr, char *para) if (acptr->zip->in->total_out && acptr->zip->out->total_in) { sendto_one(sptr, - ":%s %i %s :Zipstats for link to %s (compresslevel %d): decompressed (in): %01lu/%01lu (%3.1f%%), compressed (out): %01lu/%01lu (%3.1f%%)", + ":%s %i %s :Zipstats for link to %s (compresslevel %d): decompressed (in): %01lu=>%01lu (%3.1f%%), compressed (out): %01lu=>%01lu (%3.1f%%)", me.name, RPL_TEXT, sptr->name, get_client_name(acptr, TRUE), acptr->serv->conf->compression_level ? acptr->serv->conf->compression_level : ZIP_DEFAULT_LEVEL,