diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-27 07:41:21 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-27 07:41:21 +0000 |
commit | f6b823ade85160f94544d1ad1de4d8fbc42b2712 (patch) | |
tree | 8dabd021f0ae70e80c8da4a5704b456bd2e4b695 /src | |
parent | 4fac8d6a9133fe3b203e67d8fa3a131e178e183a (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/regchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<ChannelInfoFlag>(t))) this->SetFlag(static_cast<ChannelInfoFlag>(t)); |