Procházet zdrojové kódy

WHO should leave the client idle

Some clients seem to automatically poll for channel state
tags/v1.1.0-rc1
Shivaram Lingamneni před 5 roky
rodič
revize
89a50d772c
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 3
    2
      irc/commands.go

+ 3
- 2
irc/commands.go Zobrazit soubor

@@ -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,

Načítá se…
Zrušit
Uložit