summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-09-19 12:42:08 -0400
committerAdam <Adam@anope.org>2010-09-19 12:42:08 -0400
commit22f2b25f97ac2f96d8e7a5a9731f28483e4d0a1f (patch)
tree1b44038961b457363450ac9296532bc104d722a7 /src/channels.cpp
parentebd2997b79a44ba036277efbb837aa0701d8c782 (diff)
Fixed joining chanserv enforcers to unregistered channels
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 24d18b102..8a500d759 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -106,7 +106,7 @@ void Channel::Reset()
void Channel::Sync()
{
- if (this->users.empty() || (this->users.size() == 1 && this->ci && this->ci->bi == this->users.front()->user))
+ if (!this->HasMode(CMODE_PERM) && (this->users.empty() || (this->users.size() == 1 && this->ci && this->ci->bi == this->users.front()->user)))
{
new ChanServTimer(this);
}