internal void NoticeNotify(IrcUser user, IrcChannel chan, StringStream text) { if (chan != null) { chan.NoticeReceivedNotify(user, text); } OnNotice(user, chan, text); if (TriggersCommand(user, chan, text)) { Task.Factory.StartNew(() => m_CommandHandler.Execute(new NoticeCmdTrigger(text, user, chan))); } }
internal void NoticeNotify(IrcUser user, IrcChannel chan, StringStream text) { if (chan != null) chan.NoticeReceivedNotify(user, text); OnNotice(user, chan, text); if (TriggersCommand(user, chan, text)) { m_CommandHandler.ReactTo(new NoticeCmdTrigger(text, user, chan)); } }
internal void NoticeNotify(IrcUser user, IrcChannel chan, StringStream text) { if (chan != null) chan.NoticeReceivedNotify(user, text); OnNotice(user, chan, text); if (TriggersCommand(user, chan, text)) { Task.Factory.StartNew(()=>m_CommandHandler.Execute(new NoticeCmdTrigger(text, user, chan))); } }