Sfoglia il codice sorgente

LIKE quoting should convert to string for SQL

tags/v0.1.0
Jeremy Latt 10 anni fa
parent
commit
abf00e22ec
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      irc/client_lookup_set.go

+ 2
- 2
irc/client_lookup_set.go Vedi File

@@ -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…
Annulla
Salva