Fix client workability when sending message to unexistent recipient

This commit is contained in:
Sergey Matveev 2015-10-05 23:56:15 +03:00
parent 3016635f6a
commit e0ffe8ac28

View File

@ -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,