public override void Disable()
 {
     if (!Enabled)
     {
         return;
     }
     Service.Chat.ChatMessage -= OnChatMessage;
     PluginInterface.RemoveChatLinkHandler((uint)LinkHandlerId.OpenUrlLink);
     base.Disable();
 }
Example #2
0
 public override void Disable()
 {
     PluginInterface.RemoveChatLinkHandler((uint)LinkHandlerId.OpenFolderLink);
     PluginInterface.CommandManager.RemoveHandler("/chrdir");
     Enabled = false;
 }