summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-05 03:40:03 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-05 03:40:03 +0000
commitf9ef4ebc9dc4fd46cdafcc76df644b4896251dac (patch)
tree69072581bc1249d279dd62f2f2625f29c01b3294 /src/modules/extra
parente8bf6e5fdbcfa2d3c86541eb27e88ab8c1137c07 (diff)
fix some unitialised vectors and tidy up a bit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9637 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-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 09b577aed..861a2b70c 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -277,8 +277,8 @@ public:
if (oper_command)
{
std::vector<std::string> params;
- params[0] = username;
- params[1] = pass;
+ params.push_back(username);
+ params.push_back(pass);
oper_command->Handle(params, user);
}
else