Migrate from Freenode to Libera Chat
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user