diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-01 01:27:02 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-01 01:27:02 +0200 |
commit | 12872e3d4b942d10c4dc1ec9e099345b474ac874 (patch) | |
tree | 74445ff4ed0a28e61c9523d8de9039bd5e9107e1 /src/modules/m_sqloper.cpp | |
parent | d1a88f0957aeef918af4cea5dcf87892df755130 (diff) |
Change User::GetIPString() to return const std::string&
Diffstat (limited to 'src/modules/m_sqloper.cpp')
-rw-r--r-- | src/modules/m_sqloper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sqloper.cpp b/src/modules/m_sqloper.cpp index 03b626963..38bcb744a 100644 --- a/src/modules/m_sqloper.cpp +++ b/src/modules/m_sqloper.cpp @@ -119,7 +119,7 @@ class OpMeQuery : public SQLQuery hostname.append("@").append(user->host); - if (OneOfMatches(hostname.c_str(), user->GetIPString(), pattern.c_str())) + if (OneOfMatches(hostname.c_str(), user->GetIPString().c_str(), pattern.c_str())) { /* Opertype and host match, looks like this is it. */ |