Skip to content

Commit

Permalink
Merge pull request #1292 from dgw/issue-1291
Browse files Browse the repository at this point in the history
[sasl] Do not try to convert entire "verbose" command to bool
  • Loading branch information
psychon committed Jul 8, 2016
2 parents b7fc670 + 9864b27 commit 56620af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sasl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class CSASLMod : public CModule {
"[yes|no]", "Don't connect unless SASL authentication succeeds");
AddCommand("Verbose", "yes|no", "Set verbosity level, useful to debug",
[&](const CString& sLine) {
m_bVerbose = sLine.ToBool();
m_bVerbose = sLine.Token(1, true).ToBool();
PutModule("Verbose: " + CString(m_bVerbose));
});

Expand Down

0 comments on commit 56620af

Please sign in to comment.