[IRCServices Coding] Chanserv & memoserv suggestion

Chris Jenkinson chris at starglade.org
Tue Aug 17 10:32:13 PDT 2004

Andrew Church wrote:
>      This is designed behavior.  A manual "reorder" command does merit
> consideration, but the problem with reordering (especially automatically)
> is that another user may be giving a command at the same time, or the same
> user may give two separate commands intending them to be used in the same
> list, and if the list is reordered after the first command, the second
> command will have undesired results.

How about sorting it temporarily just before outputting it to the user
who requests the list, so the user sees it in order but it is stored in
whatever order it is added?

That way any interference from other users submitting commands won't
mess anything up and the list will appear in order.


Chris Jenkinson
chris at starglade.org