From abf00e22ec38d11f626ca4179559af107b4aed0e Mon Sep 17 00:00:00 2001 From: Jeremy Latt Date: Mon, 17 Mar 2014 12:56:12 -0700 Subject: [PATCH] LIKE quoting should convert to string for SQL --- irc/client_lookup_set.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irc/client_lookup_set.go b/irc/client_lookup_set.go index 844e3f3e..108de80b 100644 --- a/irc/client_lookup_set.go +++ b/irc/client_lookup_set.go @@ -37,8 +37,8 @@ func ExpandUserHost(userhost Name) (expanded Name) { return } -func QuoteLike(userhost Name) Name { - return Name(likeQuoter.Replace(userhost.String())) +func QuoteLike(userhost Name) string { + return likeQuoter.Replace(userhost.String()) } type ClientLookupSet struct {