Inheritance: IrcEventArgs
Exemple #1
0
 private void _OnVoice(object sender, VoiceEventArgs e)
 {
     GroupChatModel cchat = (GroupChatModel)GetChat(e.Channel, ChatType.Group);
     IrcGroupPersonModel user = (IrcGroupPersonModel)cchat.GetPerson(e.Whom);
     if (user != null) {
         user.IsVoice = true;
         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
     }
 }
Exemple #2
0
 void mClient_OnVoice(object sender, VoiceEventArgs e)
 {
     AddText(string.Format("*** {0} voiced {1}", e.Who, e.Whom));
     UpdateNames();
 }