3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-23 19:19:31 +01:00

control: migrate to new log_setup() name

This commit is contained in:
James Lu 2017-07-12 07:50:34 -07:00
parent 50e7b0ab13
commit 9a2bff25ee

View File

@ -118,11 +118,11 @@ def _rehash():
ircobj.autoconnect_active_multiplier = 1
# Clear the IRC object's channel loggers and replace them with
# new ones by re-running logSetup().
# new ones by re-running log_setup().
while ircobj.loghandlers:
log.removeHandler(ircobj.loghandlers.pop())
ircobj.logSetup()
ircobj.log_setup()
utils.resetModuleDirs()