X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=daemon.go;h=15129f9f473d50f809fa5bc3747df147327d5189;hb=7a081293793cbf329b964ce0de6338425609374f;hp=0f2b9298d35b834a8fbd395397f267af12a47cf1;hpb=a9e5e5cd2f6acb7d5f243e85f71b3cc0e27137df;p=goircd.git diff --git a/daemon.go b/daemon.go index 0f2b929..15129f9 100644 --- a/daemon.go +++ b/daemon.go @@ -1,11 +1,10 @@ /* goircd -- minimalistic simple Internet Relay Chat (IRC) server -Copyright (C) 2014-2016 Sergey Matveev +Copyright (C) 2014-2019 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. +the Free Software Foundation, version 3 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -445,9 +444,7 @@ func Processor(events chan ClientEvent, finished chan struct{}) { if r, found := rooms[room]; found { roomSinks[r] <- ClientEvent{client, EventDel, ""} } else { - roomsM.RUnlock() client.ReplyNoChannel(room) - continue } } roomsM.RUnlock()