From 874f3628c9e742b9738141a1acc1c36a37ba310f Mon Sep 17 00:00:00 2001 From: Jeremy Latt Date: Sat, 15 Mar 2014 19:18:57 -0700 Subject: [PATCH] fix another Name => string conversion --- irc/channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/channel.go b/irc/channel.go index 07b52913..fa18b62d 100644 --- a/irc/channel.go +++ b/irc/channel.go @@ -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 }