protected override void __evt_PART(NetworkChannelDataEventArgs args) { if (args.ChannelName == Configuration.System.DebugChan && this.instance != Instance.PrimaryInstance) { return; } Channel channel = Core.GetChannel(args.ChannelName); if (channel != null) { foreach (Module module in ExtensionHandler.ExtensionList) { if (!module.IsWorking) { continue; } try { module.Hook_Part(channel, args.SourceInfo); } catch (Exception fail) { Syslog.Log("MODULE: exception at Hook_Part in " + module.Name, true); Core.HandleException(fail); } } } }
public override void __evt_FinishChannelParseUser(NetworkChannelDataEventArgs args) { Channel channel = Core.GetChannel(args.ChannelName); Syslog.DebugLog("Finished parsing of user list for channel: " + args.ChannelName); if (channel != null) channel.HasFreshUserList = true; }
protected override void __evt_FinishChannelParseUser(NetworkChannelDataEventArgs args) { Channel channel = Core.GetChannel(args.ChannelName); Syslog.DebugLog("Finished parsing of user list for channel: " + args.ChannelName); if (channel != null) { channel.HasFreshUserList = true; } }
public override void __evt_PART(NetworkChannelDataEventArgs args) { if (args.ChannelName == Configuration.System.DebugChan && this.instance != Instance.PrimaryInstance) return; Channel channel = Core.GetChannel(args.ChannelName); if (channel != null) { lock (ExtensionHandler.Extensions) { foreach (Module module in ExtensionHandler.Extensions) { if (!module.IsWorking) { continue; } try { module.Hook_Part(channel, args.SourceInfo); } catch (Exception fail) { Core.HandleException(fail); } } } } }
protected override void __evt_PART(NetworkChannelDataEventArgs args) { if (args.ChannelName == Configuration.System.DebugChan && this.instance != Instance.PrimaryInstance) return; Channel channel = Core.GetChannel(args.ChannelName); if (channel != null) { foreach (Module module in ExtensionHandler.ExtensionList) { if (!module.IsWorking) continue; try { module.Hook_Part(channel, args.SourceInfo); } catch (Exception fail) { Syslog.Log("MODULE: exception at Hook_Part in " + module.Name, true); Core.HandleException(fail); } } } }
protected internal virtual void __evt_PART(NetworkChannelDataEventArgs args) { if (this.On_PART != null) this.On_PART(this, args); }
protected internal virtual void __evt_INVITE(NetworkChannelDataEventArgs args) { if (this.On_INVITE != null) this.On_INVITE(this, args); }
protected internal virtual void __evt_FinishChannelParseUser(NetworkChannelDataEventArgs args) { if (this.On_FinishChannelParseUser != null) this.On_FinishChannelParseUser(this, args); }
protected internal virtual void __evt_ChannelInfo(NetworkChannelDataEventArgs args) { if (this.On_ChannelInfo != null) this.On_ChannelInfo(this, args); }