Fix client workability when sending message to unexistent recipient
This commit is contained in:
parent
3016635f6a
commit
e0ffe8ac28
@ -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…
Reference in New Issue
Block a user