summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regchannel.cpp2
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));