[IRCServices] Trivial OS AKILL documentation flaw

Robin Burchell surreal.w00t at gmail.com
Mon Mar 27 15:18:01 PST 2006


Hi,

The documentation for OS AKILL is wrong, specifically:

[09:07:31] -OperServ (services at chatspike.net)- Optionally, an expiry
time can be given with the AKILL ADD
[09:07:31] -OperServ (services at chatspike.net)- command. The expiry
time precedes the user at host mask, and
[09:07:31] -OperServ (services at chatspike.net)- is specified as an
integer followed by one of d (days),
[09:07:31] -OperServ (services at chatspike.net)- h (hours), or m
(minutes). Combinations (such as 1h30m)
[09:07:31] -OperServ (services at chatspike.net)- are also permitted. If
a unit specifier is not included,
[09:07:31] -OperServ (services at chatspike.net)- the default is days (so
+30 by itself means 30 days). To
[09:07:32] -OperServ (services at chatspike.net)- add an AKILL which does
not expire, use +0. If the
[09:07:32] -OperServ (services at chatspike.net)- usermask to be added
starts with a +, an expiry time must
[09:07:32] -OperServ (services at chatspike.net)- be given, even if it is
the same as the default.

It does not mention that 's' (seconds) can also be used, which is the
case both from testing, confirmed in the source by looking at misc.c's
dotime() which do_maskdata_add() (called by akill add) uses.