summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matveev <stargrave@stargrave.org>2015-10-05 23:56:15 +0300
committerSergey Matveev <stargrave@stargrave.org>2015-10-05 23:56:15 +0300
commite0ffe8ac287709ffa4af4e1325b86ad73d78ae50 (patch)
tree090f2d96390b4dbcd755dad9fa25e93e32a6e948
parent3016635f6a6bd23e34461e93cef3e8d861ce4275 (diff)
downloadgoircd-e0ffe8ac287709ffa4af4e1325b86ad73d78ae50.tar.xz
Fix client workability when sending message to unexistent recipient
-rw-r--r--daemon.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon.go b/daemon.go
index 53dde3e..30d8c5d 100644
--- 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,