summaryrefslogtreecommitdiff
path: root/src/modules/m_sasl.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-13 18:11:57 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-13 18:11:57 +0200
commite2dd99fa342b45364590ec72746e3118f1779538 (patch)
tree7541030c21c9e6f64d572af0661a0a3422591596 /src/modules/m_sasl.cpp
parent30a9cd0f5d9d6f96b637adb4afc8dbc727bf1afe (diff)
Fix more incorrect std::string::operator[] usage
Diffstat (limited to 'src/modules/m_sasl.cpp')
-rw-r--r--src/modules/m_sasl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index 32c9afc79..9cb5592d1 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -147,7 +147,7 @@ class SaslAuthenticator
SendSASL(params);
- if (parameters[0][0] == '*')
+ if (parameters[0].c_str()[0] == '*')
{
this->Abort();
return false;