diff options
Diffstat (limited to 'include/membership.h')
-rw-r--r-- | include/membership.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/membership.h b/include/membership.h index 458c7efc4..c92933ba8 100644 --- a/include/membership.h +++ b/include/membership.h @@ -14,11 +14,9 @@ #ifndef __MEMBERSHIP_H__ #define __MEMBERSHIP_H__ -class User; -class Channel; - -struct CoreExport Membership : public Extensible +class CoreExport Membership : public Extensible { + public: User* const user; Channel* const chan; // mode list, sorted by prefix rank, higest first @@ -31,10 +29,4 @@ struct CoreExport Membership : public Extensible unsigned int getRank(); }; -CoreExport typedef std::map<User*, Membership*> UserMembList; -CoreExport typedef UserMembList::iterator UserMembIter; -CoreExport typedef UserMembList::const_iterator UserMembCIter; - -CoreExport typedef std::set<User*> CUList; - #endif |