コード例 #1
0
 void irc_OnNickRecvd(JoinMsg join)
 {
     if (LoggedIn.ContainsKey(join.who + "!" + join.whoUser + "@" + join.whoHost))
     {
         string nick = LoggedIn[join.who + "!" + join.whoUser + "@" + join.whoHost];
         LoggedIn.Remove(join.who + "!" + join.whoUser + "@" + join.whoHost);
         LoggedIn.Add(join.channel + "!" + join.whoUser + "@" + join.whoHost, nick);
     }
 }
コード例 #2
0
 void irc_OnQuitRecvd(JoinMsg join)
 {
     LoggedIn.Remove(join.who + "!" + join.whoUser + "@" + join.whoHost);
 }