[IRCServices] Suggestion

Jonathan Morton chromi at cyberspace.org
Sat Mar 17 06:52:01 PST 2001


>Not if you add something to the nickname information that is a list of every
>channel they have access to and what level with the channel. It wouldn't be
>too hard to do, but it would increase database size. I'd rather have that
>than a loop through the channel db anways.

Wouldn't even have to increase db size, just RAM usage.  Simply keep a
linked-list of channels attached to each nick, rebuild it when the db is
loaded, and modify it when the chanserv info changes.  Simple and efficient.

--------------------------------------------------------------
from:     Jonathan "Chromatix" Morton
mail:     chromi at cyberspace.org  (not for attachments)
big-mail: chromatix at penguinpowered.com
uni-mail: j.d.morton at lancaster.ac.uk

The key to knowledge is not to rely on people to teach you it.

Get VNC Server for Macintosh from http://www.chromatix.uklinux.net/vnc/

-----BEGIN GEEK CODE BLOCK-----
Version 3.12
GCS$/E/S dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS
PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*)
-----END GEEK CODE BLOCK-----