]> jfr.im git - irc/freenode/jbnc.git/commitdiff
added jbnc/ to hosts for charybdis not masking *@hash for WEBIRC
authorMRNFN80 <redacted>
Wed, 27 May 2020 21:22:37 +0000 (16:22 -0500)
committerMRNFN80 <redacted>
Wed, 27 May 2020 21:22:37 +0000 (16:22 -0500)
bouncer.js

index 00e24c88117ebaad4870fd10058e0ff57223ec3e..437a2370d7934a6036e8944ff17531e222210266 100644 (file)
@@ -723,10 +723,10 @@ function clientConnect(socket) {
           _reverse_ip = this.host;
         }
         if(SERVER_WEBIRCHASHIP && !SERVER_WEBIRCPROXY) {
-          this.write('WEBIRC '+SERVER_WEBIRC+' '+this.user+' '+iphash(this.hostonce)+" "+this.host+"\n");
+          this.write('WEBIRC '+SERVER_WEBIRC+' '+this.user+' jbnc/'+iphash(this.hostonce)+" "+this.host+"\n");
         }
         else if(SERVER_WEBIRCHASHIP && SERVER_WEBIRCPROXY) {
-          this.write('WEBIRC '+SERVER_WEBIRC+' '+this.user+' '+iphash(this.host)+" "+this.host+"\n");
+          this.write('WEBIRC '+SERVER_WEBIRC+' '+this.user+' jbnc/'+iphash(this.host)+" "+this.host+"\n");
         }
         else
           this.write('WEBIRC '+SERVER_WEBIRC+' '+this.user+' '+_reverse_ip+" "+this.host+"\n");