diff options
author | André Silva <emulatorman@hyperbola.info> | 2021-08-01 17:41:39 -0300 |
---|---|---|
committer | André Silva <emulatorman@hyperbola.info> | 2021-08-01 17:41:39 -0300 |
commit | eb0d6b7281f666221da66e6e4c41f7a83a04e8a9 (patch) | |
tree | 1571109a76f84053c934ec7977781527ad740351 | |
parent | 136db8cc95eed4ddc54319b4ced1cf92d0a1de51 (diff) | |
download | hyperbot-eb0d6b7281f666221da66e6e4c41f7a83a04e8a9.tar.lz hyperbot-eb0d6b7281f666221da66e6e4c41f7a83a04e8a9.tar.xz hyperbot-eb0d6b7281f666221da66e6e4c41f7a83a04e8a9.zip |
Migrate from Freenode to Libera Chat
-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. |