diff options
| author | 2006-03-11 15:00:26 +0000 | |
|---|---|---|
| committer | 2006-03-11 15:00:26 +0000 | |
| commit | 366fea7aec3858bcaadfe1a66e7ae8afcde76ebc (patch) | |
| tree | 230948dfceb7ca9d9f02ad491765caf173ea0bf0 /src/modules/extra/m_sqlauth.cpp | |
| parent | More converted modules (diff) | |
| download | inspircd++-366fea7aec3858bcaadfe1a66e7ae8afcde76ebc.tar.gz inspircd++-366fea7aec3858bcaadfe1a66e7ae8afcde76ebc.tar.bz2 inspircd++-366fea7aec3858bcaadfe1a66e7ae8afcde76ebc.zip | |
More const ref fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3656 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sqlauth.cpp')
| -rw-r--r-- | src/modules/extra/m_sqlauth.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp index 6a760e198..3112c2cae 100644 --- a/src/modules/extra/m_sqlauth.cpp +++ b/src/modules/extra/m_sqlauth.cpp @@ -87,7 +87,7 @@ class ModuleSQLAuth : public Module List[I_OnRehash] = List[I_OnUserRegister] = 1; } - virtual void OnRehash(std::string parameter) + virtual void OnRehash(const std::string ¶meter) { ReadConfig(); } @@ -105,7 +105,7 @@ class ModuleSQLAuth : public Module } } - bool CheckCredentials(std::string username, std::string password) + bool CheckCredentials(const std::string &username, const std::string &password) { bool found = false; |
