From 8702031bcd63032572b36fa51457b3ea4f73c158 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 25 Aug 2011 19:01:01 -0400 Subject: Set the creator of default mlocks to the channel founder when a channel is registered --- include/regchannel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') 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 { private: - typedef std::multimap ModeList; - NickCore *founder; /* Channel founder */ std::vector access; /* List of authorized users */ std::vector akick; /* List of users to kickban */ std::vector badwords; /* List of badwords */ - ModeList mode_locks; public: + typedef std::multimap ModeList; + ModeList mode_locks; + /** Default constructor * @param chname The channel name */ -- cgit