Added User.list command to list registered users.

This commit is contained in:
Jeremy Fincher 2003-12-01 20:57:00 +00:00
parent 97b8bab611
commit 8ff34725c2
3 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,5 @@
* Added User.list command to list registered users.
* Fixed bug #850931 as well as several other minor bugs in * Fixed bug #850931 as well as several other minor bugs in
Utilities.re. Utilities.re.

View File

@ -91,7 +91,8 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
def __init__(self): def __init__(self):
callbacks.Privmsg.__init__(self) callbacks.Privmsg.__init__(self)
setattr(self.__class__, 'exec', self.__class__._exec) setattr(self.__class__, 'exec', self.__class__._exec)
self.defaultPlugins = {'capabilities': 'User', self.defaultPlugins = {'list': 'Misc',
'capabilities': 'User',
'addcapability': 'Admin', 'addcapability': 'Admin',
'removecapability': 'Admin'} 'removecapability': 'Admin'}

View File

@ -39,6 +39,7 @@ import fix
import getopt import getopt
import string import string
import fnmatch
from itertools import imap, ifilter from itertools import imap, ifilter
import conf import conf