Inheritance: IrcEventArgs
Exemplo n.º 1
0
 private void _OnDevoice(object sender, DevoiceEventArgs e)
 {
     GroupChatModel cchat = (GroupChatModel)GetChat(e.Channel, ChatType.Group);
     IrcGroupPersonModel user = (IrcGroupPersonModel)cchat.GetPerson(e.Whom);
     if (user != null) {
         user.IsVoice = false;
         Session.UpdatePersonInGroupChat(cchat, user, user);
     #if LOG4NET
     } else {
         _Logger.Error("cchat.GetPerson(e.Whom) returned null! cchat.Name: "+cchat.Name+" e.Whom: "+e.Whom);
     #endif
     }
 }
Exemplo n.º 2
0
 void mClient_OnDevoice(object sender, DevoiceEventArgs e)
 {
     AddText(string.Format("*** {0} has devoiced {1}", e.Who, e.Whom));
     UpdateNames();
 }