mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
parent
84a5b83eb1
commit
3ec5ffa340
13 changed files with 81 additions and 126 deletions
|
|
@ -199,7 +199,7 @@ func histservPlayHandler(service *ircService, server *Server, client *Client, co
|
|||
|
||||
// handles parameter parsing and history queries for /HISTORY and /HISTSERV PLAY
|
||||
func easySelectHistory(server *Server, client *Client, params []string) (items []history.Item, channel *Channel, err error) {
|
||||
channel, sequence, err := server.GetHistorySequence(nil, client, params[0], 0)
|
||||
channel, sequence, err := server.GetHistorySequence(nil, client, params[0])
|
||||
|
||||
if sequence == nil || err != nil {
|
||||
return nil, nil, errNoSuchChannel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue