diff options
| author | Adam <Adam@anope.org> | 2016-07-28 21:29:35 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2016-07-28 21:29:35 -0400 |
| commit | 0e758a2ac23dc4a001e8e126cec14588da9a9769 (patch) | |
| tree | 45df813323e023c5c89db7279426c4ad0943b4a9 /modules/chanserv/main/mode.h | |
| parent | a3c8afae00c54d5b95c620248b51f90679d7d53f (diff) | |
Allow serializable fields to use storage in the respective objects.
Split service management code nito a proper servicemanager. Make service
references managed instead of lazy lookup. Also made events and
serializable use service manager instead of their respective systems for
management
Diffstat (limited to 'modules/chanserv/main/mode.h')
| -rw-r--r-- | modules/chanserv/main/mode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/chanserv/main/mode.h b/modules/chanserv/main/mode.h index cd94e5ad1..8923a18ae 100644 --- a/modules/chanserv/main/mode.h +++ b/modules/chanserv/main/mode.h @@ -1,6 +1,11 @@ class ModeImpl : public ChanServ::Mode { + friend class CSModeType; + + ChanServ::Channel *channel = nullptr; + Anope::string mode, param; + public: ModeImpl(Serialize::TypeBase *type) : ChanServ::Mode(type) { } ModeImpl(Serialize::TypeBase *type, Serialize::ID id) : ChanServ::Mode(type, id) { } |
