diff options
author | Adam <Adam@anope.org> | 2013-05-19 01:11:55 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-19 01:11:55 -0400 |
commit | 7aa02864d21d75088149abd7b349ac2074471151 (patch) | |
tree | a766420d8ce53a52795046a60334f067deaf44dc /src/config.cpp | |
parent | 2a8202c83251f495191c95ba26428d9e545e252e (diff) |
Mark service:channels as a "botchannel" and don't try to hold them on sync, as the client should always be in the channel
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp index f96027453..7d96fdbed 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -338,6 +338,8 @@ Conf::Conf() : Block("") if (!c) continue; // Can't happen + c->Extend("BOTCHANNEL"); + /* Remove all existing modes */ ChanUserContainer *cu = c->FindUser(bi); if (cu != NULL) @@ -373,7 +375,10 @@ Conf::Conf() : Block("") Channel *c = Channel::Find(chname); if (c) + { + c->Shrink("BOTCHANNEL"); bi->Part(c); + } } } |