mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Store the q on the function itself in case we want to debug with it later.
This commit is contained in:
parent
60bf8eba95
commit
f8f977386e
@ -185,7 +185,9 @@ def urlSnarfer(f):
|
||||
t = threading.Thread(target=f, args=[self,irc,msg,match]+L)
|
||||
t.setDaemon(True)
|
||||
t.start()
|
||||
return utils.changeFunctionName(newf, f.func_name, f.__doc__)
|
||||
newf = utils.changeFunctionName(newf, f.func_name, f.__doc__)
|
||||
newf.q = q
|
||||
return newf
|
||||
|
||||
|
||||
class CapabilityCheckingPrivmsg(callbacks.Privmsg):
|
||||
|
Loading…
Reference in New Issue
Block a user