File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ const SERVER_PORT = BOUNCER_MODE=='gateway'?(config.serverPort?config.serverPort
40
40
const INGRESSWEBIRC = config . ingresswebircPassword ?config . ingresswebircPassword :'' ;
41
41
const SERVER = BOUNCER_MODE == 'gateway' ?( config . server ?config . server :'' ) :'' ;
42
42
const DEBUG = config . debug ?config . debug :false ;
43
+ const IRCV3_MONITOR = config . ircv3Monitor ?true :false ;
43
44
44
45
45
46
// Reload passwords on sighup
@@ -645,6 +646,8 @@ function clientReconnect(socket) {
645
646
socket . write ( connection . connectbuf + "\n" ) ;
646
647
if ( connection . nick != socket . irc . nick )
647
648
socket . write ( ":" + connection . nick_original + " NICK " + connection . nick + "\n" ) ;
649
+ if ( IRCV3_MONITOR )
650
+ connection . write ( "MONITOR S\n" ) ;
648
651
if ( ! connection . connected ) {
649
652
connection . write ( "AWAY\n" ) ;
650
653
connection . connected = true ;
Original file line number Diff line number Diff line change 19
19
"bufferMaxSize":52428800,
20
20
"bouncerDefaultOpmode":false,
21
21
22
+ "ircv3Monitor": false,
23
+
22
24
"debug":false
23
25
}
You can’t perform that action at this time.
0 commit comments