This would allow settings to be saved for user, channel and server objects. These would be saved to filesystem, in a example directory:
jimino/conf/settings/[network_name]/[hash].dat
This file would be a dictionary pickle object.
Things to consider, user objects, should we just hash the nickname? What transformations should we apply (irc_lower()?) DO we include the full mask?
We could have a mapping file where we can map hostmasks to files using wildcards and such.
Adding this api would allow other modules to have a simple information store on users and channels in a standard scheme.
This would allow settings to be saved for user, channel and server objects. These would be saved to filesystem, in a example directory:
jimino/conf/settings/[network_name]/[hash].dat
This file would be a dictionary pickle object.
Things to consider, user objects, should we just hash the nickname? What transformations should we apply (irc_lower()?) DO we include the full mask?
We could have a mapping file where we can map hostmasks to files using wildcards and such.
Adding this api would allow other modules to have a simple information store on users and channels in a standard scheme.