summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-03 11:44:35 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-03 11:44:35 +0000
commitc8c3eaf9f77f7c5e65a1d5c9a0d6595cc812f7a1 (patch)
treecf6dfa09271e784b7cbf83a754daebbe96d9bcd6 /src/modules
parent9ab3cd89031d8c2a45d0837a493d48c42d53d655 (diff)
Fix off-by-one reported by Darom in bug #339
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7421 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_antibottler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp
index 2c96495a4..e8dac81d0 100644
--- a/src/modules/m_antibottler.cpp
+++ b/src/modules/m_antibottler.cpp
@@ -83,7 +83,7 @@ class ModuleAntiBottler : public Module
if (!not_bottler)
{
std::string strgecos = std::string(gecos) + "[Possible bottler, ident: " + std::string(ident) + "]";
- const char* modified[3];
+ const char* modified[4];
modified[0] = "bottler";
modified[1] = local;
modified[2] = remote;