Migrate from Freenode to Libera Chat
This commit is contained in:
parent
136db8cc95
commit
eb0d6b7281
@ -48,7 +48,7 @@ config_gecos='ietf.org/rfc/rfc3092'
|
|||||||
###################
|
###################
|
||||||
|
|
||||||
# Server to use
|
# Server to use
|
||||||
config_server='irc.freenode.net'
|
config_server='irc.libera.chat'
|
||||||
# What port to use. Normally 6667 works for non SSL connections.
|
# What port to use. Normally 6667 works for non SSL connections.
|
||||||
config_server_port='6667'
|
config_server_port='6667'
|
||||||
# If 1 use SSL, not all transport modules support this.
|
# If 1 use SSL, not all transport modules support this.
|
||||||
|
@ -59,7 +59,7 @@ function funcOutput($output, $mode) {
|
|||||||
}
|
}
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
$ircServer = 'chat.freenode.net';
|
$ircServer = 'irc.libera.chat';
|
||||||
$ircPort = '6667';
|
$ircPort = '6667';
|
||||||
$botNick = 'hypervoice';
|
$botNick = 'hypervoice';
|
||||||
$botChannel = '#hyperbola';
|
$botChannel = '#hyperbola';
|
||||||
|
@ -124,9 +124,9 @@ server_connected=0
|
|||||||
## @param The last part of the 005.
|
## @param The last part of the 005.
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
server_handle_005() {
|
server_handle_005() {
|
||||||
# Example from freenode:
|
# Example from libera:
|
||||||
# :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
|
# :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
|
||||||
# :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
|
# :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"
|
local line="$1"
|
||||||
if [[ $line =~ EXCEPTS(=([^ ]+))? ]]; then
|
if [[ $line =~ EXCEPTS(=([^ ]+))? ]]; then
|
||||||
# Some, but not all also send what char the modes for EXCEPTS is.
|
# Some, but not all also send what char the modes for EXCEPTS is.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user