WHOWAS command

This commit is contained in:
Jeremy Latt
2014-03-06 12:14:21 -08:00
parent 69cdad45ac
commit b2055595e1
4 changed files with 49 additions and 0 deletions
+9
View File
@@ -844,6 +844,15 @@ func (msg *KillCommand) HandleServer(server *Server) {
target.Quit(quitMsg)
}
func (msg *WhoWasCommand) HandleServer(server *Server) {
client := msg.Client()
for _, nickname := range msg.nicknames {
// TODO implement nick history
client.ErrWasNoSuchNick(nickname)
client.RplEndOfWhoWas(nickname)
}
}
//
// keeping track of clients
//