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:
parent
50e7b0ab13
commit
9a2bff25ee
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user