[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Patch to allow different hostname for bnc which appears in the confirm email.


Thanks for the patch IanJ! Sorry for my delay, I finally committed it
today.

-- 
jrmu
IRCNow (https://ircnow.org)

On Sun, Apr 16, 2023 at 11:16:03AM -0400, Ian Jones wrote:
> ---
>  BNC.pm              | 3 ++-
>  botnow.conf.example | 5 ++++-
>  2 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/BNC.pm b/BNC.pm
> index 461514f..72cf10d 100644
> --- a/BNC.pm
> +++ b/BNC.pm
> @@ -21,6 +21,7 @@ my $staff = $conf{staff};
>  my $zncdir = $conf{zncdir};
>  my $znclog = $conf{znclog} || "$zncdir/.znc/moddata/adminlog/znc.log";
>  my $hostname = $conf{hostname};
> +my $bnchostname = $conf{bnchostnome};
>  my $terms = $conf{terms};
>  my @logs;
>  my $expires = $conf{expires};
> @@ -423,7 +424,7 @@ You created a bouncer:
>  
>  Username: $username
>  Password: $password
> -Server: $hostname
> +Server: $bnchostname
>  Port: $sslport for SSL (secure connection)
>  Port: $plainport for plaintext
>  Webpanel: $webpanel
> diff --git a/botnow.conf.example b/botnow.conf.example
> index b7a173d..aedde40 100644
> --- a/botnow.conf.example
> +++ b/botnow.conf.example
> @@ -7,9 +7,12 @@ localnet = example
>  #host = 127.0.0.1
>  #port = 1337
>  
> -#Bouncer hostname
> +#hostname
>  hostname = example.com
>  
> +#Bouncer hostname
> +bnchostname = bnc.example.com
> +
>  #Mail hostname
>  mailhostname = example.com
>  
> -- 
> 2.37.3
> 

Attachment: signature.asc
Description: PGP signature