diff options
| author | 2005-05-30 22:36:08 +0000 | |
|---|---|---|
| committer | 2005-05-30 22:36:08 +0000 | |
| commit | f96ddd39748f283768217fb1a3cdd3a7cbde353a (patch) | |
| tree | 12929cfa52dcd3de5871efe355168f762a3740eb /src/modules/extra/m_sqloper.cpp | |
| parent | Fixed ircd_connector::CheckPing returning an undefined result (diff) | |
Started on -Wall - safe compile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sqloper.cpp')
| -rw-r--r-- | src/modules/extra/m_sqloper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp index 70e971aae..9ccfd7a29 100644 --- a/src/modules/extra/m_sqloper.cpp +++ b/src/modules/extra/m_sqloper.cpp @@ -89,7 +89,7 @@ class ModuleSQLOper : public Module // sanitize the password (we dont want any mysql insertion exploits!) std::string temp = ""; - for (int q = 0; q < password.length(); q++) + for (unsigned int q = 0; q < password.length(); q++) { if (password[q] == '\'') { @@ -103,7 +103,7 @@ class ModuleSQLOper : public Module } password = temp; temp = ""; - for (int v = 0; v < username.length(); v++) + for (unsigned int v = 0; v < username.length(); v++) { if (username[v] == '\'') { |
