3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

fix another Name => string conversion

This commit is contained in:
Jeremy Latt 2014-03-15 19:18:57 -07:00
parent 7a9f1d750b
commit 874f3628c9

View File

@ -449,7 +449,7 @@ func (channel *Channel) Persist() (err error) {
channel.lists[ExceptMask].String(), channel.lists[InviteMask].String())
} else {
_, err = channel.server.db.Exec(`
DELETE FROM channel WHERE name = ?`, channel.name)
DELETE FROM channel WHERE name = ?`, channel.name.String())
}
return
}