And sasl_timeout, else we're going to get an error
This commit is contained in:
1 parent
3ce0003c9e
commit
f0807a8306
1 file changed
+1
-1
+1
-1
@@ -18,7 +18,7 @@ sub _init
|
||||
# Add sasl to supported CAP for servers configured with SASL.
|
||||
my %servers = conf_get('server');
|
||||
foreach my $svr (keys %servers) {
|
||||
if (conf_get("server:$svr:sasl_username") and conf_get("server:$svr:sasl_password")) { $Proto::IRC::cap{$svr} .= ' sasl'; }
|
||||
if (conf_get("server:$svr:sasl_username") and conf_get("server:$svr:sasl_password") and conf_get("server:$svr:sasl_timeout")) { $Proto::IRC::cap{$svr} .= ' sasl'; }
|
||||
}
|
||||
# Hook for when CAP ACK sasl is received.
|
||||
hook_add('on_capack', 'sasl.cap', \&M::SASLAuth::handle_capack) or return;
|
||||
|
||||
Reference in new issue
Block a user