From 796f6d79dfbe0e9406a6f6aa7efc6aec61af1955 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 29 Aug 2008 17:02:30 +0000 Subject: Remove two unused parameters git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10346 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqloper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extra') 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); -- cgit v1.2.3