1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 08:23:12 +02:00

Fixed some problems with the /stats help and documentation

This commit is contained in:
codemastr
2005-01-29 17:22:54 +00:00
parent 839efd901a
commit a86c75bfb4
3 changed files with 24 additions and 27 deletions
+1
View File
@@ -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.
+8 -8
View File
@@ -27,7 +27,7 @@ English | <a href="unreal32docs.de.html">German</a> |
<div align="center"><b><font size="7">UnrealIRCd</font></b><br>
<font size="4"><a href="http://www.unrealircd.com">http://www.unrealircd.com</a></font><br>
<font size="4">Version: 3.2.2-CVS</font><br>
<b>Last doc update:</b> 2004-12-01</div>
<b>Last doc update:</b> 2005-01-29</div>
<br>
<b>Head Coders:</b> Stskeeps / codemastr / Syzop / Luke<br>
<b>Contributors:</b> McSkaf / Zogg / NiQuiL / assyrian / chasm / DrBin / llthangel / Griever / nighthawk<br>
@@ -3080,10 +3080,10 @@ to get more information on a command.</p>
d - denylinkauto - Send the deny link (auto) block list<br>
D - denylinkall - Send the deny link (all) block list<br>
e - exceptthrottle - Send the except trottle block list<br>
E - exceptban - Send the except ban block list<br>
E - exceptban - Send the except ban and except tkl block list<br>
f - spamfilter - Send the spamfilter list<br>
F - denydcc - Send the deny dcc block list<br>
G - gline - Send the gline list<br>
G - gline - Send the gline and gzline list<br>
&nbsp;&nbsp;Extended flags: [+/-mrs] [mask] [reason] [setby]<br>
&nbsp;&nbsp;&nbsp;&nbsp;m Return glines matching/not matching the specified mask<br>
&nbsp;&nbsp;&nbsp;&nbsp;r Return glines with a reason matching/not matching the specified reason<br>
@@ -3096,17 +3096,17 @@ to get more information on a command.</p>
M - command - Send list of how many times each command was used<br>
n - banrealname - Send the ban realname block list<br>
O - oper - Send the oper block list<br>
P - port - Send information about ports<br>
q - sqline - Send the SQLINE list<br>
Q - bannick - Send the ban nick block list<br>
r - chanrestrict - Send the channel deny/allow block list<br>
R - usage - Send usage information<br>
S - set - Send the set block list<br>
s - shun - Send the shun list<br>
&nbsp;&nbsp;Extended flags: [+/-mrs] [mask] [reason] [setby]<br>
&nbsp;&nbsp;&nbsp;&nbsp;m Return shuns matching/not matching the specified mask<br>
&nbsp;&nbsp;&nbsp;&nbsp;r Return shuns with a reason matching/not matching the specified reason<br>
&nbsp;&nbsp;&nbsp;&nbsp;s Return shuns set by/not set by clients matching the specified name<br>
P - port - Send information about ports<br>
q - sqline - Send the SQLINE list<br>
Q - bannick - Send the ban nick block list<br>
r - chanrestrict - Send the channel deny/allow block list<br>
R - usage - Send usage information<br>
t - tld - Send the tld block list<br>
T - traffic - Send traffic information<br>
u - uptime - Send the server uptime and connection count<br>
+15 -19
View File
@@ -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,