From 761dda25756049eb9f8ec58f252f4237c84b54df Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 4 Dec 2020 13:28:53 +0300 Subject: [PATCH] Properly stop room's processor --- daemon.go | 1 + goircd.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon.go b/daemon.go index ce2dd00..0bf695c 100644 --- a/daemon.go +++ b/daemon.go @@ -74,6 +74,7 @@ EventsCycle: log.Println(rn, "emptied room") } delete(rooms, rn) + r.events <- ClientEvent{eventType: EventTerm} close(r.events) } } diff --git a/goircd.go b/goircd.go index f8aad49..7d33b7e 100644 --- a/goircd.go +++ b/goircd.go @@ -33,7 +33,7 @@ import ( ) const ( - Version = "1.9.0" + Version = "1.9.1" StateTopicFilename = "topic" StateKeyFilename = "key"