mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +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...
|
threaded = False # Again, like Privmsg...
|
||||||
flags = re.I
|
flags = re.I
|
||||||
onlyFirstMatch = False
|
onlyFirstMatch = False
|
||||||
|
commandArgs = ['self', 'irc', 'msg', 'match']
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
Privmsg.__init__(self)
|
Privmsg.__init__(self)
|
||||||
self.Proxy = IrcObjectProxyRegexp
|
self.Proxy = IrcObjectProxyRegexp
|
||||||
self.res = []
|
self.res = []
|
||||||
self.commandArgs = ['self', 'irc', 'msg', 'match']
|
|
||||||
#for name, value in self.__class__.__dict__.iteritems():
|
#for name, value in self.__class__.__dict__.iteritems():
|
||||||
for name, value in self.__class__.__dict__.items():
|
for name, value in self.__class__.__dict__.items():
|
||||||
value = getattr(self, name)
|
value = getattr(self, name)
|
||||||
|
Loading…
Reference in New Issue
Block a user