diff options
author | Adam <Adam@anope.org> | 2010-08-01 21:17:52 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-01 21:17:52 -0400 |
commit | f887b37453ae55a4a61e0e7c6ee774f38dddfc2e (patch) | |
tree | bc8536f599f36057b88fb937f7c520d1f707b249 /src | |
parent | fd31d4aa29033327b52dd8ac3bbc545497f47d3d (diff) |
Set the correct bs default flags on new channels
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 f08fa1cc4..bdb4572f4 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -43,7 +43,7 @@ ChannelInfo::ChannelInfo(const Anope::string &chname) this->SetFlag(static_cast<ChannelInfoFlag>(t)); /* Set default bot flags */ - for (t = BI_BEGIN + 1; t != BI_END; ++t) + for (t = BS_BEGIN + 1; t != BS_END; ++t) if (Config.BSDefFlags.HasFlag(static_cast<BotServFlag>(t))) this->botflags.SetFlag(static_cast<BotServFlag>(t)); |