internal MessageDispatcher(FilterManager f) { filters = f; MessageManager.LimitLevel = 3; MessageManager.Option = MessageManager.PeekOption.Auto; MessageManager.Init(filters); MessageManager.SetSendMessageAction(new MessageManager.SendMessageAction((target, message) => { SyncHost.Instance.ClientWrapper.Client.SendMessage(new IRCMessage(target, message)); })); }
public InitFilterEvent(FilterManager filters) { Filters = filters; }
public static void Init(FilterManager manager) { timer = new System.Threading.Timer(runThread, null, 0, Convert.ToInt32(time_inv)); filterManager = manager; }