mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-13 07:29:30 +01:00
fix another Name => string conversion
This commit is contained in:
parent
7a9f1d750b
commit
874f3628c9
@ -449,7 +449,7 @@ func (channel *Channel) Persist() (err error) {
|
|||||||
channel.lists[ExceptMask].String(), channel.lists[InviteMask].String())
|
channel.lists[ExceptMask].String(), channel.lists[InviteMask].String())
|
||||||
} else {
|
} else {
|
||||||
_, err = channel.server.db.Exec(`
|
_, err = channel.server.db.Exec(`
|
||||||
DELETE FROM channel WHERE name = ?`, channel.name)
|
DELETE FROM channel WHERE name = ?`, channel.name.String())
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user