mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-08 17:38:11 -07:00
time command
This commit is contained in:
@@ -791,3 +791,11 @@ func (msg *InviteCommand) HandleServer(server *Server) {
|
||||
|
||||
channel.Invite(target, client)
|
||||
}
|
||||
|
||||
func (msg *TimeCommand) HandleServer(server *Server) {
|
||||
if (msg.target != "") && (msg.target != server.name) {
|
||||
msg.Client().ErrNoSuchServer(msg.target)
|
||||
return
|
||||
}
|
||||
msg.Client().RplTime()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user