From 193a7366b1400238292061b15aa5e8b0d34f71c0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 28 Oct 2016 20:16:08 +0100 Subject: [PATCH] Add more networks to bouncer --- src/freedombone-app-irc | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/src/freedombone-app-irc b/src/freedombone-app-irc index b3bc5f70..90180d8e 100755 --- a/src/freedombone-app-irc +++ b/src/freedombone-app-irc @@ -117,6 +117,7 @@ function add_user_irc_bouncer { echo " Salt = ${ZNC_SALT}" >> /home/znc/.znc/configs/znc.conf echo ' ' >> /home/znc/.znc/configs/znc.conf echo " Admin = ${is_admin}" >> /home/znc/.znc/configs/znc.conf + echo ' Allow = *' >> /home/znc/.znc/configs/znc.conf echo " Nick = ${new_username}" >> /home/znc/.znc/configs/znc.conf echo " AltNick = ${new_username}_" >> /home/znc/.znc/configs/znc.conf echo " Ident = ${new_username}" >> /home/znc/.znc/configs/znc.conf @@ -127,12 +128,9 @@ function add_user_irc_bouncer { echo '' >> /home/znc/.znc/configs/znc.conf echo ' LoadModule = chansaver' >> /home/znc/.znc/configs/znc.conf echo ' LoadModule = controlpanel' >> /home/znc/.znc/configs/znc.conf - echo ' LoadModule = perform' >> /home/znc/.znc/configs/znc.conf echo '' >> /home/znc/.znc/configs/znc.conf echo " " >> /home/znc/.znc/configs/znc.conf echo ' LoadModule = chansaver' >> /home/znc/.znc/configs/znc.conf - echo ' LoadModule = keepnick' >> /home/znc/.znc/configs/znc.conf - echo ' LoadModule = perform' >> /home/znc/.znc/configs/znc.conf echo ' LoadModule = simple_away' >> /home/znc/.znc/configs/znc.conf echo '' >> /home/znc/.znc/configs/znc.conf echo " Server = ${DEFAULT_DOMAIN_NAME} +${IRC_PORT}" >> /home/znc/.znc/configs/znc.conf @@ -141,6 +139,25 @@ function add_user_irc_bouncer { echo " " >> /home/znc/.znc/configs/znc.conf echo ' ' >> /home/znc/.znc/configs/znc.conf echo ' ' >> /home/znc/.znc/configs/znc.conf + + echo ' ' + echo ' LoadModule = chansaver' >> /home/znc/.znc/configs/znc.conf + echo ' LoadModule = simple_away' >> /home/znc/.znc/configs/znc.conf + echo ' FloodBurst = 4' >> /home/znc/.znc/configs/znc.conf + echo ' FloodRate = 1.00' >> /home/znc/.znc/configs/znc.conf + echo ' IRCConnectEnabled = true' >> /home/znc/.znc/configs/znc.conf + echo ' Server = irc.oftc.net 6697' >> /home/znc/.znc/configs/znc.conf + echo ' ' >> /home/znc/.znc/configs/znc.conf + + echo ' ' >> /home/znc/.znc/configs/znc.conf + echo ' LoadModule = chansaver' >> /home/znc/.znc/configs/znc.conf + echo ' LoadModule = simple_away' >> /home/znc/.znc/configs/znc.conf + echo ' FloodBurst = 4' >> /home/znc/.znc/configs/znc.conf + echo ' FloodRate = 1.00' >> /home/znc/.znc/configs/znc.conf + echo ' IRCConnectEnabled = true' >> /home/znc/.znc/configs/znc.conf + echo ' Server = irc.freenode.net 6697' >> /home/znc/.znc/configs/znc.conf + echo ' ' >> /home/znc/.znc/configs/znc.conf + echo '' >> /home/znc/.znc/configs/znc.conf mkdir -p /home/znc/.znc/users/${new_username}/moddata