diff options
author | burlex <burlex@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-14 22:16:16 +0000 |
---|---|---|
committer | burlex <burlex@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-14 22:16:16 +0000 |
commit | 4962be6ddf91e0fac6926f90d10b3ca9abb64747 (patch) | |
tree | 7e510af07de6c2493860da9e62936aed7a448a45 | |
parent | 7d4edd5ac3987ff1161a5152e3aa19c8a0a8260a (diff) |
- Fixed fencepost error in apply_other_sides_modes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7315 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index b7f3951ce..0739e8152 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -864,7 +864,7 @@ bool TreeSocket::ForceJoin(const std::string &source, std::deque<std::string> &p if (apply_other_sides_modes) { std::deque<std::string> stackresult; - const char* mode_junk[MAXMODES+1]; + const char* mode_junk[MAXMODES+2]; userrec* n = new userrec(Instance); n->SetFd(FD_MAGIC_NUMBER); mode_junk[0] = channel.c_str(); |