X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fchannels.h;h=f71ad53a3ee568a4f60b9f9043aea69098edf099;hb=b4be0c94ab5fb7e5a7a799a195c78de072a5e315;hp=ec52661d6144dd76c149e57d85a5cde467d290c2;hpb=ace3d85982f99ab04318ce705fd29fec5ffd7320;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/channels.h b/include/channels.h index ec52661d6..f71ad53a3 100644 --- a/include/channels.h +++ b/include/channels.h @@ -81,12 +81,6 @@ enum UserChannelModes { */ class CoreExport Channel : public Extensible { - private: - - /** Pointer to creator object - */ - InspIRCd* ServerInstance; - /** Connect a Channel to a User */ static Channel* ForceChan(InspIRCd* Instance, Channel* Ptr, User* user, const std::string &privs, bool bursting, bool created); @@ -100,6 +94,10 @@ class CoreExport Channel : public Extensible int maxbans; public: + /** Pointer to creator object + */ + InspIRCd* ServerInstance; + /** Creates a channel record and initialises it with default values * @throw Nothing at present. */