mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Moved commandArgs outside of __init__.
This commit is contained in:
parent
3fe81ebdcb
commit
0743b3eb0a
@ -509,11 +509,11 @@ class PrivmsgRegexp(Privmsg):
|
||||
threaded = False # Again, like Privmsg...
|
||||
flags = re.I
|
||||
onlyFirstMatch = False
|
||||
commandArgs = ['self', 'irc', 'msg', 'match']
|
||||
def __init__(self):
|
||||
Privmsg.__init__(self)
|
||||
self.Proxy = IrcObjectProxyRegexp
|
||||
self.res = []
|
||||
self.commandArgs = ['self', 'irc', 'msg', 'match']
|
||||
#for name, value in self.__class__.__dict__.iteritems():
|
||||
for name, value in self.__class__.__dict__.items():
|
||||
value = getattr(self, name)
|
||||
|
Loading…
Reference in New Issue
Block a user