mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-28 01:38:10 -07:00
WHOWAS command
This commit is contained in:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user