private void OnIRCNotice(string[] tokens, string message)
    {
        IRCNoticeEvent notice = new IRCNoticeEvent();

        notice.Text = message;
        notice.User = IRCUser.GetUserFromAddress(tokens[0].Substring(1));

        DispatchEvent(notice);
    }
Esempio n. 2
0
    private void NoticeEventHandler(IRCEvent e)
    {
        IRCNoticeEvent noticeEvent = (IRCNoticeEvent)e;

        LogText("[notice] " + noticeEvent.User.Nick + ": " + noticeEvent.Text);
    }
    private void OnIRCNotice(string[] tokens, string message)
    {
        IRCNoticeEvent notice = new IRCNoticeEvent();

        notice.Text = message;
        notice.User = IRCUser.GetUserFromAddress(tokens[0].Substring(1));

        DispatchEvent(notice);
    }