From 9b2b3baca4f464e44e034c083c8973330e9ed3f9 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 18 May 2014 15:25:11 +0400 Subject: [PATCH] Save room state after it's creation --- daemon.go | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon.go b/daemon.go index 49e2dd8..1dc1763 100644 --- a/daemon.go +++ b/daemon.go @@ -247,6 +247,7 @@ func (daemon *Daemon) HandlerJoin(client *Client, cmd string) { room_new, room_sink := daemon.RoomRegister(room) if key != "" { room_new.key = key + room_new.StateSave() } room_sink <- ClientEvent{client, EVENT_NEW, ""} }