]> Cypherpunks.ru repositories - goircd.git/commitdiff
Fix client workability when sending message to unexistent recipient
authorSergey Matveev <stargrave@stargrave.org>
Mon, 5 Oct 2015 20:56:15 +0000 (23:56 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 5 Oct 2015 20:56:15 +0000 (23:56 +0300)
daemon.go

index 53dde3eedbe93282cabefda26fcbde482b61f10d..30d8c5ddc77a8e8980dcfa0a19e8d106e11ab4bb 100644 (file)
--- a/daemon.go
+++ b/daemon.go
@@ -458,6 +458,7 @@ func (daemon *Daemon) Processor(events <-chan ClientEvent) {
                                r, found := daemon.rooms[target]
                                if !found {
                                        client.ReplyNoNickChan(target)
+                                       continue
                                }
                                daemon.roomSinks[r] <- ClientEvent{
                                        client,