Skip to content
This repository was archived by the owner on Feb 21, 2018. It is now read-only.

Commit 112d93d

Browse files
committed
Revert "core/admin: Reload all modules on an UPGRADE"
This reverts commit 4f94b5a.
1 parent 52ea0bc commit 112d93d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modules/core/admin.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,5 @@ def commandUPGRADE(cod, line, splitline, source, destination):
261261
for line in output:
262262
cod.servicesLog(line.strip())
263263

264-
for module in cod.modules:
265-
if module == cod.config["uplink"]["protocol"]:
266-
pass
267-
cod.unloadmod(module)
268-
cod.loadmod(module)
269-
270264
cod.servicesLog("%s: UPGRADE" % cod.clients[source].nick)
271265

0 commit comments

Comments
 (0)