diff options
Diffstat (limited to 'src/modules/m_ldapauth.cpp')
-rw-r--r-- | src/modules/m_ldapauth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ldapauth.cpp b/src/modules/m_ldapauth.cpp index 9356b2dd1..6b7c9d219 100644 --- a/src/modules/m_ldapauth.cpp +++ b/src/modules/m_ldapauth.cpp @@ -323,7 +323,7 @@ public: std::string* cc = ldapVhost.get(user); if (cc) { - user->ChangeDisplayedHost(cc->c_str()); + user->ChangeDisplayedHost(*cc); ldapVhost.unset(user); } } |