Fix client workability when sending message to unexistent recipient
This commit is contained in:
parent
3016635f6a
commit
e0ffe8ac28
1 changed files with 1 additions and 0 deletions
|
@ -458,6 +458,7 @@ func (daemon *Daemon) Processor(events <-chan ClientEvent) {
|
||||||
r, found := daemon.rooms[target]
|
r, found := daemon.rooms[target]
|
||||||
if !found {
|
if !found {
|
||||||
client.ReplyNoNickChan(target)
|
client.ReplyNoNickChan(target)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
daemon.roomSinks[r] <- ClientEvent{
|
daemon.roomSinks[r] <- ClientEvent{
|
||||||
client,
|
client,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue