Selaa lähdekoodia

LIKE quoting should convert to string for SQL

tags/v0.1.0
Jeremy Latt 10 vuotta sitten
vanhempi
commit
abf00e22ec
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2
    2
      irc/client_lookup_set.go

+ 2
- 2
irc/client_lookup_set.go Näytä tiedosto

@@ -37,8 +37,8 @@ func ExpandUserHost(userhost Name) (expanded Name) {
37 37
 	return
38 38
 }
39 39
 
40
-func QuoteLike(userhost Name) Name {
41
-	return Name(likeQuoter.Replace(userhost.String()))
40
+func QuoteLike(userhost Name) string {
41
+	return likeQuoter.Replace(userhost.String())
42 42
 }
43 43
 
44 44
 type ClientLookupSet struct {

Loading…
Peruuta
Tallenna