Explorar el Código

WHO should leave the client idle

Some clients seem to automatically poll for channel state
tags/v1.1.0-rc1
Shivaram Lingamneni hace 5 años
padre
commit
89a50d772c
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      irc/commands.go

+ 3
- 2
irc/commands.go Ver fichero

@@ -309,8 +309,9 @@ func init() {
309 309
 			minParams:    4,
310 310
 		},
311 311
 		"WHO": {
312
-			handler:   whoHandler,
313
-			minParams: 1,
312
+			handler:         whoHandler,
313
+			minParams:       1,
314
+			leaveClientIdle: true,
314 315
 		},
315 316
 		"WHOIS": {
316 317
 			handler:   whoisHandler,

Loading…
Cancelar
Guardar