summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-26 17:13:11 -0400
committerAdam <Adam@anope.org>2013-05-26 17:13:11 -0400
commit22658d63bdb1e52a66f4514af45fa55ca5891345 (patch)
tree673304ab19f7e077b489354248247867518331f8 /include/channels.h
parentf2dee1e1d642b07947f59f91dfba9af34ef84685 (diff)
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/channels.h b/include/channels.h
index 7d1918f08..25bd95097 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -30,12 +30,6 @@ struct ChanUserContainer : public Extensible
ChanUserContainer(User *u, Channel *c) : user(u), chan(c) { }
};
-/* Possible flags:
- *
- * INHABIT - ChanServ is currently holding the channel
- * PERSIST - Channel still exists when emptied (IRCd enforced)
- * SYNCING - Channel is syncing users (channel was just created) and it should not be deleted
- */
class CoreExport Channel : public Base, public Extensible
{
public:
@@ -52,6 +46,8 @@ class CoreExport Channel : public Base, public Extensible
Serialize::Reference<ChannelInfo> ci;
/* When the channel was created */
time_t creation_time;
+ /* If the channel has just been created in a netjoin */
+ bool syncing;
/* Users in the channel */
typedef std::map<User *, ChanUserContainer *> ChanUserList;
@@ -272,9 +268,8 @@ class CoreExport Channel : public Base, public Extensible
* for the specified user.
* @param user The user to give/remove modes to/from
* @param give_modes if true modes may be given to the user
- * @param check_noop if true, CI_NOAUTOOP is checked before giving modes
*/
- void SetCorrectModes(User *u, bool give_mode, bool check_noop);
+ void SetCorrectModes(User *u, bool give_modes);
/** Unbans a user from this channel.
* @param u The user to unban