Updated some docs in the plugins module.

This commit is contained in:
Jeremy Fincher 2005-03-09 07:27:16 +00:00
parent a2e2063d8b
commit 4fb57f211a

View File

@ -189,7 +189,7 @@ class ChannelDBHandler(object):
class DbiChannelDB(object): class DbiChannelDB(object):
"""This just handles some of the general stuff for Channel DBI databases. """This just handles some of the general stuff for Channel DBI databases.
Check out plugins/Dunno.py for an example of how to use this.""" Check out ChannelIdDatabasePlugin for an example of how to use this."""
def __init__(self, filename): def __init__(self, filename):
self.filename = filename self.filename = filename
self.dbs = ircutils.IrcDict() self.dbs = ircutils.IrcDict()
@ -218,8 +218,6 @@ class DbiChannelDB(object):
return _getDbAndDispatcher return _getDbAndDispatcher
# XXX This should eventually be gotten rid of in favor of some dbi thing. At
# the very least, it ought to get an interface much closer to dbi.DB.
class ChannelUserDictionary(UserDict.DictMixin): class ChannelUserDictionary(UserDict.DictMixin):
IdDict = dict IdDict = dict
def __init__(self): def __init__(self):