From 4e7fa39cc520bef9381f092f29b7fa8c17a9fd4a Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 14 Jun 2007 22:41:24 +0000 Subject: MAXMODES+1 -> MAXMODES+2 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7318 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/u_listmode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/u_listmode.h b/include/u_listmode.h index 119559789..a2a394045 100644 --- a/include/u_listmode.h +++ b/include/u_listmode.h @@ -137,7 +137,7 @@ class ListModeBase : public ModeHandler { irc::modestacker modestack(false); std::deque stackresult; - const char* mode_junk[MAXMODES+1]; + const char* mode_junk[MAXMODES+2]; mode_junk[0] = channel->name; userrec* n = new userrec(ServerInstance); n->SetFd(FD_MAGIC_NUMBER); -- cgit v1.2.3