From f887b37453ae55a4a61e0e7c6ee774f38dddfc2e Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 1 Aug 2010 21:17:52 -0400 Subject: Set the correct bs default flags on new channels --- 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 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(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(t))) this->botflags.SetFlag(static_cast(t)); -- cgit