Added verbose log for spawning CommandThreads.

This commit is contained in:
Jeremy Fincher 2003-08-27 01:39:58 +00:00
parent 6b0fbdc324
commit 51a474dd14

View File

@ -366,6 +366,7 @@ class CommandThread(threading.Thread):
name = '%s.%s with args %r' % (self.className, self.commandName, args) name = '%s.%s with args %r' % (self.className, self.commandName, args)
threading.Thread.__init__(self, target=command, name=name, threading.Thread.__init__(self, target=command, name=name,
args=(irc, msg, args)) args=(irc, msg, args))
debug.msg('Spawning thread %s' % name, 'verbose')
self.irc = irc self.irc = irc
self.msg = msg self.msg = msg
self.setDaemon(True) self.setDaemon(True)