Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic Settings API #23

Open
Kindari opened this issue Feb 12, 2012 · 0 comments
Open

Generic Settings API #23

Kindari opened this issue Feb 12, 2012 · 0 comments

Comments

@Kindari
Copy link
Owner

Kindari commented Feb 12, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant