Browse Source

Don't automatically unwhitelist a server on leave

tags/docs-0.9
RogueException 9 years ago
parent
commit
8e8c2cc7fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Modules/ModuleManager.cs

+ 1
- 1
src/Discord.Net.Modules/ModuleManager.cs View File

@@ -98,7 +98,7 @@ namespace Discord.Modules
client.RoleDeleted += (s, e) => { if (HasIndirectServer(e.Server)) RoleDeleted(s, e); }; client.RoleDeleted += (s, e) => { if (HasIndirectServer(e.Server)) RoleDeleted(s, e); };


client.JoinedServer += (s, e) => { if (_allowAll) JoinedServer(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.ServerUpdated += (s, e) => { if (HasIndirectServer(e.After)) ServerUpdated(s, e); };
client.ServerUnavailable += (s, e) => { if (HasIndirectServer(e.Server)) ServerUnavailable(s, e); }; client.ServerUnavailable += (s, e) => { if (HasIndirectServer(e.Server)) ServerUnavailable(s, e); };
client.ServerAvailable += (s, e) => { if (HasIndirectServer(e.Server)) ServerAvailable(s, e); }; client.ServerAvailable += (s, e) => { if (HasIndirectServer(e.Server)) ServerAvailable(s, e); };


Loading…
Cancel
Save