Don't automatically unwhitelist a server on leave

This commit is contained in:
RogueException
2016-02-12 22:08:56 -04:00
parent 45ee58a4d5
commit 8e8c2cc7fb

View File

@@ -98,7 +98,7 @@ namespace Discord.Modules
client.RoleDeleted += (s, e) => { if (HasIndirectServer(e.Server)) RoleDeleted(s, e); };
client.JoinedServer += (s, e) => { if (_allowAll) JoinedServer(s, e); };
client.LeftServer += (s, e) => { if (HasIndirectServer(e.Server)) { DisableServer(e.Server); LeftServer(s, e); } };
client.LeftServer += (s, e) => { if (HasIndirectServer(e.Server)) LeftServer(s, e); };
client.ServerUpdated += (s, e) => { if (HasIndirectServer(e.After)) ServerUpdated(s, e); };
client.ServerUnavailable += (s, e) => { if (HasIndirectServer(e.Server)) ServerUnavailable(s, e); };
client.ServerAvailable += (s, e) => { if (HasIndirectServer(e.Server)) ServerAvailable(s, e); };