mirror of https://github.com/ergochat/ergo.git
LIKE quoting should convert to string for SQL
This commit is contained in:
parent
874f3628c9
commit
abf00e22ec
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue