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); } }
void irc_OnQuitRecvd(JoinMsg join) { LoggedIn.Remove(join.who + "!" + join.whoUser + "@" + join.whoHost); }