summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-29 17:02:30 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-29 17:02:30 +0000
commit796f6d79dfbe0e9406a6f6aa7efc6aec61af1955 (patch)
tree57027ed0bff543f17789f390238b38dafd259d07 /src/modules
parent1fd22793d17a5e8e385d86d2dbd2276b1876680a (diff)
Remove two unused parameters
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10346 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_sqloper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 64256ee87..cca53f8a7 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -215,7 +215,7 @@ public:
for (SQLfieldMap& row = res->GetRowMap(); row.size(); row = res->GetRowMap())
{
- if (OperUser(user, row["username"].d, row["password"].d, row["hostname"].d, row["type"].d))
+ if (OperUser(user, row["hostname"].d, row["type"].d))
{
/* If/when one of the rows matches, stop checking and return */
return SQLSUCCESS;
@@ -287,7 +287,7 @@ public:
}
}
- bool OperUser(User* user, const std::string &username, const std::string &password, const std::string &pattern, const std::string &type)
+ bool OperUser(User* user, const std::string &pattern, const std::string &type)
{
ConfigReader Conf(ServerInstance);