summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index d4b37f4e9..993000b38 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -44,16 +44,16 @@ ChannelInfo::ChannelInfo(const std::string &chname)
size_t t;
/* Set default channel flags */
for (t = CI_BEGIN + 1; t != CI_END; ++t)
- if (CSDefFlags.HasFlag(static_cast<ChannelInfoFlag>(t)))
+ if (Config.CSDefFlags.HasFlag(static_cast<ChannelInfoFlag>(t)))
this->SetFlag(static_cast<ChannelInfoFlag>(t));
/* Set default bot flags */
for (t = BI_BEGIN + 1; t != BI_END; ++t)
- if (BSDefFlags.HasFlag(static_cast<BotServFlag>(t)))
+ if (Config.BSDefFlags.HasFlag(static_cast<BotServFlag>(t)))
this->botflags.SetFlag(static_cast<BotServFlag>(t));
- bantype = CSDefBantype;
- memos.memomax = MSMaxMemos;
+ bantype = Config.CSDefBantype;
+ memos.memomax = Config.MSMaxMemos;
last_used = time_registered = time(NULL);
this->ttb = new int16[2 * TTB_SIZE];
@@ -86,7 +86,7 @@ ChannelInfo::~ChannelInfo()
if (this->c)
{
- if (this->bi && this->c->usercount >= BSMinUsers)
+ if (this->bi && this->c->usercount >= Config.BSMinUsers)
ircdproto->SendPart(this->bi, this->c->name, NULL);
this->c->ci = NULL;
}