diff options
Diffstat (limited to 'src/modules/m_antibottler.cpp')
-rw-r--r-- | src/modules/m_antibottler.cpp | 8 |
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; } |