summaryrefslogtreecommitdiff
path: root/src/modules/m_sqloper.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-04-01 06:53:24 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-04-01 06:53:24 -0700
commitdf2cbbe6e7f63a36e4f71b353769e5568eaa9e73 (patch)
tree59845c8c8f859b721fdc9584a2d4ab9904e2e7ae /src/modules/m_sqloper.cpp
parentba49d8eeabca0358314f36397abd56d8340f3753 (diff)
parentf00ffba521c16d0f5419f60c0b4d362b362b76e6 (diff)
Merge pull request #454 from SaberUK/master+misc-improvements
Purge dead code and deprecated types.
Diffstat (limited to 'src/modules/m_sqloper.cpp')
-rw-r--r--src/modules/m_sqloper.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/modules/m_sqloper.cpp b/src/modules/m_sqloper.cpp
index 38bcb744a..7097cd8e2 100644
--- a/src/modules/m_sqloper.cpp
+++ b/src/modules/m_sqloper.cpp
@@ -57,21 +57,8 @@ class OpMeQuery : public SQLQuery
SQLEntries row;
while (res.GetRow(row))
{
-#if 0
- parameterlist cols;
- res.GetCols(cols);
-
- std::vector<KeyVal>* items;
- reference<ConfigTag> tag = ConfigTag::create("oper", "<m_sqloper>", 0, items);
- for(unsigned int i=0; i < cols.size(); i++)
- {
- if (!row[i].nul)
- items->insert(std::make_pair(cols[i], row[i]));
- }
-#else
if (OperUser(user, row[0], row[1]))
return;
-#endif
}
ServerInstance->Logs->Log("m_sqloper",DEBUG, "SQLOPER: no matches for %s (checked %d rows)", uid.c_str(), res.Rows());
// nobody succeeded... fall back to OPER