From e2dd99fa342b45364590ec72746e3118f1779538 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sat, 13 Aug 2016 18:11:57 +0200 Subject: Fix more incorrect std::string::operator[] usage --- src/modules/m_sasl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_sasl.cpp') 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; -- cgit v1.2.3