mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
actually fix #760
This commit is contained in:
parent
bc692a70a0
commit
52d85517cd
@ -94,11 +94,10 @@ func zncPlaybackHandler(client *Client, command string, params []string, rb *Res
|
|||||||
items, _ := client.history.Between(after, before, false, config.History.ChathistoryMax)
|
items, _ := client.history.Between(after, before, false, config.History.ChathistoryMax)
|
||||||
client.replayPrivmsgHistory(rb, items, true)
|
client.replayPrivmsgHistory(rb, items, true)
|
||||||
} else {
|
} else {
|
||||||
|
targets = make(StringSet)
|
||||||
|
// TODO actually handle nickname targets
|
||||||
for _, targetName := range strings.Split(targetString, ",") {
|
for _, targetName := range strings.Split(targetString, ",") {
|
||||||
if cfTarget, err := CasefoldChannel(targetName); err == nil {
|
if cfTarget, err := CasefoldChannel(targetName); err == nil {
|
||||||
if targets == nil {
|
|
||||||
targets = make(StringSet)
|
|
||||||
}
|
|
||||||
targets.Add(cfTarget)
|
targets.Add(cfTarget)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user