Remove unnecessary Database struct and add more persistence.

This commit is contained in:
Jeremy Latt 2013-06-02 16:32:22 -07:00
parent ccdf7779a5
commit be60d503be
5 changed files with 28 additions and 26 deletions

View file

@ -60,6 +60,7 @@ func NewChannel(s *Server, name string) *Channel {
}
go channel.receiveCommands(commands)
go channel.receiveReplies(replies)
Save(s.db, channel)
return channel
}