diff --git a/Changes b/Changes index b611795b2..09a8bb0bd 100644 --- a/Changes +++ b/Changes @@ -558,3 +558,4 @@ - Added invite exceptions (+I). This prevents users from needing a /invite in for a +i channel (#0002044) suggested by medice. - Updated help.conf's +f documentation for the new syntax +- Fixed some problems with the /stats help and documentation (#0002299) reported by Rocko. diff --git a/doc/unreal32docs.html b/doc/unreal32docs.html index 29e11f249..19283c016 100644 --- a/doc/unreal32docs.html +++ b/doc/unreal32docs.html @@ -27,7 +27,7 @@ English | German |
UnrealIRCd
http://www.unrealircd.com
Version: 3.2.2-CVS
- Last doc update: 2004-12-01
+ Last doc update: 2005-01-29
Head Coders: Stskeeps / codemastr / Syzop / Luke
Contributors: McSkaf / Zogg / NiQuiL / assyrian / chasm / DrBin / llthangel / Griever / nighthawk
@@ -3080,10 +3080,10 @@ to get more information on a command.

d - denylinkauto - Send the deny link (auto) block list
D - denylinkall - Send the deny link (all) block list
e - exceptthrottle - Send the except trottle block list
- E - exceptban - Send the except ban block list
+ E - exceptban - Send the except ban and except tkl block list
f - spamfilter - Send the spamfilter list
F - denydcc - Send the deny dcc block list
- G - gline - Send the gline list
+ G - gline - Send the gline and gzline list
  Extended flags: [+/-mrs] [mask] [reason] [setby]
    m Return glines matching/not matching the specified mask
    r Return glines with a reason matching/not matching the specified reason
@@ -3096,17 +3096,17 @@ to get more information on a command.

M - command - Send list of how many times each command was used
n - banrealname - Send the ban realname block list
O - oper - Send the oper block list
+ P - port - Send information about ports
+ q - sqline - Send the SQLINE list
+ Q - bannick - Send the ban nick block list
+ r - chanrestrict - Send the channel deny/allow block list
+ R - usage - Send usage information
S - set - Send the set block list
s - shun - Send the shun list
  Extended flags: [+/-mrs] [mask] [reason] [setby]
    m Return shuns matching/not matching the specified mask
    r Return shuns with a reason matching/not matching the specified reason
    s Return shuns set by/not set by clients matching the specified name
- P - port - Send information about ports
- q - sqline - Send the SQLINE list
- Q - bannick - Send the ban nick block list
- r - chanrestrict - Send the channel deny/allow block list
- R - usage - Send usage information
t - tld - Send the tld block list
T - traffic - Send traffic information
u - uptime - Send the server uptime and connection count
diff --git a/src/modules/m_stats.c b/src/modules/m_stats.c index e377ec56d..987ba4ceb 100644 --- a/src/modules/m_stats.c +++ b/src/modules/m_stats.c @@ -130,11 +130,6 @@ struct statstab { int options; }; -//TODO: -// module help -// update docs -// update module docs - /* Must be listed lexicographically */ /* Long flags must be lowercase */ struct statstab StatsTable[] = { @@ -170,6 +165,7 @@ struct statstab StatsTable[] = { { 'j', "officialchans", stats_officialchannels, 0 }, { 'k', "kline", stats_kline, 0 }, { 'l', "linkinfo", stats_linkinfo, SERVER_AS_PARA }, + { 'm', "command", stats_command, 0 }, { 'n', "banrealname", stats_banrealname, 0 }, { 'o', "oper", stats_oper, 0 }, { 'q', "bannick", stats_bannick, FLAGS_AS_PARA }, @@ -246,13 +242,13 @@ inline void stats_help(aClient *sptr) sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, "e - exceptthrottle - Send the except trottle block list"); sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, - "E - exceptban - Send the except ban block list"); + "E - exceptban - Send the except ban and except tkl block list"); sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, "f - spamfilter - Send the spamfilter list"); sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, "F - denydcc - Send the deny dcc and allow dcc block lists"); sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, - "G - gline - Send the gline list"); + "G - gline - Send the gline and gzline list"); sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, " Extended flags: [+/-mrs] [mask] [reason] [setby]"); sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, @@ -277,18 +273,6 @@ inline void stats_help(aClient *sptr) "n - banrealname - Send the ban realname block list"); sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, "O - oper - Send the oper block list"); - sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, - "S - set - Send the set block list"); - sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, - "s - shun - Send the shun list"); - sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, - " Extended flags: [+/-mrs] [mask] [reason] [setby]"); - sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, - " m Return shuns matching/not matching the specified mask"); - sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, - " r Return shuns with a reason matching/not matching the specified reason"); - sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, - " s Return shuns set by/not set by clients matching the specified name"); sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, "P - port - Send information about ports"); sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, @@ -301,6 +285,18 @@ inline void stats_help(aClient *sptr) sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, "R - usage - Send usage information"); #endif + sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, + "S - set - Send the set block list"); + sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, + "s - shun - Send the shun list"); + sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, + " Extended flags: [+/-mrs] [mask] [reason] [setby]"); + sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, + " m Return shuns matching/not matching the specified mask"); + sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, + " r Return shuns with a reason matching/not matching the specified reason"); + sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, + " s Return shuns set by/not set by clients matching the specified name"); sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name, "t - tld - Send the tld block list"); sendto_one(sptr, rpl_str(RPL_STATSHELP), me.name, sptr->name,