diff options
-rw-r--r-- | bot_settings.sh.example | 2 | ||||
-rwxr-xr-x | hypervoice.php | 2 | ||||
-rw-r--r-- | lib/server.sh | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/bot_settings.sh.example b/bot_settings.sh.example index e8364af..b934e1a 100644 --- a/bot_settings.sh.example +++ b/bot_settings.sh.example @@ -48,7 +48,7 @@ config_gecos='ietf.org/rfc/rfc3092' ################### # Server to use -config_server='irc.freenode.net' +config_server='irc.libera.chat' # What port to use. Normally 6667 works for non SSL connections. config_server_port='6667' # If 1 use SSL, not all transport modules support this. diff --git a/hypervoice.php b/hypervoice.php index 1d802c4..90b29fd 100755 --- a/hypervoice.php +++ b/hypervoice.php @@ -59,7 +59,7 @@ function funcOutput($output, $mode) { } // --- -$ircServer = 'chat.freenode.net'; +$ircServer = 'irc.libera.chat'; $ircPort = '6667'; $botNick = 'hypervoice'; $botChannel = '#hyperbola'; diff --git a/lib/server.sh b/lib/server.sh index 348cb73..2612915 100644 --- a/lib/server.sh +++ b/lib/server.sh @@ -124,9 +124,9 @@ server_connected=0 ## @param The last part of the 005. #--------------------------------------------------------------------- server_handle_005() { - # Example from freenode: - # :heinlein.freenode.net 005 envbot IRCD=dancer CAPAB CHANTYPES=# EXCEPTS INVEX CHANMODES=bdeIq,k,lfJD,cgijLmnPQrRstz CHANLIMIT=#:20 PREFIX=(ov)@+ MAXLIST=bdeI:50 MODES=4 STATUSMSG=@ KNOCK NICKLEN=16 :are supported by this server - # :heinlein.freenode.net 005 envbot SAFELIST CASEMAPPING=ascii CHANNELLEN=30 TOPICLEN=450 KICKLEN=450 KEYLEN=23 USERLEN=10 HOSTLEN=63 SILENCE=50 :are supported by this server + # Example from libera: + # :irc.libera.chat 005 envbot IRCD=dancer CAPAB CHANTYPES=# EXCEPTS INVEX CHANMODES=bdeIq,k,lfJD,cgijLmnPQrRstz CHANLIMIT=#:20 PREFIX=(ov)@+ MAXLIST=bdeI:50 MODES=4 STATUSMSG=@ KNOCK NICKLEN=16 :are supported by this server + # :irc.libera.chat 005 envbot SAFELIST CASEMAPPING=ascii CHANNELLEN=30 TOPICLEN=450 KICKLEN=450 KEYLEN=23 USERLEN=10 HOSTLEN=63 SILENCE=50 :are supported by this server local line="$1" if [[ $line =~ EXCEPTS(=([^ ]+))? ]]; then # Some, but not all also send what char the modes for EXCEPTS is. |