summaryrefslogtreecommitdiff
path: root/src/modules/m_antibottler.cpp
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/m_antibottler.cpp
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/m_antibottler.cpp')
-rw-r--r--src/modules/m_antibottler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp
index c6f6abe35..bafd422da 100644
--- a/src/modules/m_antibottler.cpp
+++ b/src/modules/m_antibottler.cpp
@@ -79,10 +79,10 @@ class ModuleAntiBottler : public Module
{
std::string strgecos = std::string(gecos) + "[Possible bottler, ident: " + std::string(ident) + "]";
std::vector<std::string> modified;
- modified[0] = "bottler";
- modified[1] = local;
- modified[2] = remote;
- modified[3] = strgecos;
+ modified.push_back("bottler");
+ modified.push_back(local);
+ modified.push_back(remote);
+ modified.push_back(strgecos);
ServerInstance->Parser->CallHandler("USER", modified, user);
return 1;
}