Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Reloading a module enables it tor servers it shouldn't be enabled for #26

Open
Heufneutje opened this issue May 7, 2015 · 2 comments
Open
Assignees
Milestone

Comments

@Heufneutje
Copy link
Owner

No description provided.

@Heufneutje Heufneutje added this to the 1.0 milestone May 7, 2015
@Heufneutje Heufneutje self-assigned this Jun 19, 2015
@HubbeKing
Copy link
Contributor

You could solve this by checking which servers have the module enabled before unloading it, and then explicitly only enabling it for those servers after you load it back in. I did something very similar with Hubbot before I nuked his shoddy multi-server implementation
https://github.com/HubbeKing/Hubbot_Twisted/blob/80467e4e9f9a81a39a54fd7e9b16c6ed6b6ee601/hubbot/bothandler.py#L140

@HubbeKing
Copy link
Contributor

Or doing it in reverse, check which servers DON'T have the module enabled, and disable it for those servers after the reload.

@Heufneutje Heufneutje changed the title Reloading a module enables it for servers it shouldn't be enabled for Reloading a module enables it tor servers it shouldn't be enabled for Mar 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants