void JeBotMain_UserPartedChannel(object sender, UserPartEventArgs e) { // Remove the user from the verified list if needed if (VerifiedUsers.Contains(e.User.Nick)) VerifiedUsers.Remove(e.User.Nick); }
void UserDB_UserPart(object sender, UserPartEventArgs e) { User user = userdb.GetUserByName(e.User.Nick); if (user == null) return; user.Online = false; user.LastOnline = DateTime.Now; SaveDB(); }