From f6b823ade85160f94544d1ad1de4d8fbc42b2712 Mon Sep 17 00:00:00 2001 From: Adam- Date: Fri, 27 Nov 2009 07:41:21 +0000 Subject: Set all of the default channel flags on new channels. Thix fixes persistant not being set on newly registered channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2673 5417fbe8-f217-4b02-8779-1006273d7864 --- src/regchannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/regchannel.cpp b/src/regchannel.cpp index d70558940..d4b37f4e9 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -43,7 +43,7 @@ ChannelInfo::ChannelInfo(const std::string &chname) size_t t; /* Set default channel flags */ - for (t = CI_BEGIN + 1; t != CI_END - 1; ++t) + for (t = CI_BEGIN + 1; t != CI_END; ++t) if (CSDefFlags.HasFlag(static_cast(t))) this->SetFlag(static_cast(t)); -- cgit