diff options
| author | Adam <Adam@anope.org> | 2011-08-25 19:01:01 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-08-25 19:01:01 -0400 |
| commit | 8702031bcd63032572b36fa51457b3ea4f73c158 (patch) | |
| tree | 5a40997a3c71ad34c3a91e3899c03f2a5b7341f0 /include | |
| parent | 6dacec22a43940b24daa8279295b99a012de2d23 (diff) | |
Set the creator of default mlocks to the channel founder when a channel is registered
Diffstat (limited to 'include')
| -rw-r--r-- | include/regchannel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/regchannel.h b/include/regchannel.h index 855c3891d..804412cc5 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -101,15 +101,15 @@ struct ModeLock class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag, CI_END> { private: - typedef std::multimap<ChannelModeName, ModeLock> ModeList; - NickCore *founder; /* Channel founder */ std::vector<ChanAccess *> access; /* List of authorized users */ std::vector<AutoKick *> akick; /* List of users to kickban */ std::vector<BadWord *> badwords; /* List of badwords */ - ModeList mode_locks; public: + typedef std::multimap<ChannelModeName, ModeLock> ModeList; + ModeList mode_locks; + /** Default constructor * @param chname The channel name */ |
