Explorar el Código

LIKE quoting should convert to string for SQL

tags/v0.1.0
Jeremy Latt hace 10 años
padre
commit
abf00e22ec
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      irc/client_lookup_set.go

+ 2
- 2
irc/client_lookup_set.go Ver fichero

@@ -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…
Cancelar
Guardar