fix channel insert statement

This commit is contained in:
Jeremy Latt 2014-02-25 21:59:32 -08:00
parent 9dc229b98f
commit 0d277025c1
2 changed files with 2 additions and 2 deletions

View File

@ -377,7 +377,7 @@ func (channel *Channel) Persist() {
if channel.flags[Persistent] {
channel.server.db.Exec(`
INSERT OR REPLACE INTO channel
(name, flags, key, topic)
(name, flags, key, topic, user_list)
VALUES (?, ?, ?, ?, ?)`,
channel.name, channel.flags.String(), channel.key, channel.topic,
channel.userLimit)

View File

@ -23,7 +23,7 @@ var (
)
const (
SEM_VER = "ergonomadic-1.2.1"
SEM_VER = "ergonomadic-1.2.2"
CRLF = "\r\n"
MAX_REPLY_LEN = 512 - len(CRLF)