mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
fix channel insert statement
This commit is contained in:
parent
9dc229b98f
commit
0d277025c1
@ -377,7 +377,7 @@ func (channel *Channel) Persist() {
|
|||||||
if channel.flags[Persistent] {
|
if channel.flags[Persistent] {
|
||||||
channel.server.db.Exec(`
|
channel.server.db.Exec(`
|
||||||
INSERT OR REPLACE INTO channel
|
INSERT OR REPLACE INTO channel
|
||||||
(name, flags, key, topic)
|
(name, flags, key, topic, user_list)
|
||||||
VALUES (?, ?, ?, ?, ?)`,
|
VALUES (?, ?, ?, ?, ?)`,
|
||||||
channel.name, channel.flags.String(), channel.key, channel.topic,
|
channel.name, channel.flags.String(), channel.key, channel.topic,
|
||||||
channel.userLimit)
|
channel.userLimit)
|
||||||
|
@ -23,7 +23,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SEM_VER = "ergonomadic-1.2.1"
|
SEM_VER = "ergonomadic-1.2.2"
|
||||||
CRLF = "\r\n"
|
CRLF = "\r\n"
|
||||||
MAX_REPLY_LEN = 512 - len(CRLF)
|
MAX_REPLY_LEN = 512 - len(CRLF)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user