-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature sasl plain #1873
base: master
Are you sure you want to change the base?
Feature sasl plain #1873
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1873 +/- ##
==========================================
+ Coverage 43.26% 43.41% +0.14%
==========================================
Files 122 123 +1
Lines 32384 32586 +202
Branches 33 33
==========================================
+ Hits 14012 14148 +136
- Misses 18347 18413 +66
Partials 25 25
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
SCString ssOfferCaps; | ||
for (const auto& it : m_mCoreCaps) { | ||
bool bServerDependent = std::get<0>(it.second); | ||
if (!bServerDependent || | ||
m_ssServerDependentCaps.count(it.first) > 0) | ||
m_ssServerDependentCaps.count(it.first) > 0) { | ||
if (it.first.Equals("sasl") && iCapVersion >= 302) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is sasl server-dependent?
PutClient(":irc.znc.in 904 " + GetNick() + " :SASL response too long"); | ||
SASLReset(); | ||
return; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you reformat the code? It's hard to read and I don't understand what's going on
@@ -469,6 +469,15 @@ def IsClientCapSupported(self, pClient, sCap, bState): | |||
def OnClientCapRequest(self, pClient, sCap, bState): | |||
pass | |||
|
|||
def OnGetSASLMechanisms(self, ssMechanisms): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you skipped modperl
This builds upon #1573:
Feel free to squash when merging