From 5d6dcb9919caa44ac6af32e5b5ed0b8341afdf56 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 13 May 2009 20:57:49 +0000 Subject: [PATCH] Make User::ServerInstance public so that FakeUser can access it. There is no reason to make this private, really git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11382 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/users.h b/include/users.h index 207d782b0..7887d545d 100644 --- a/include/users.h +++ b/include/users.h @@ -391,12 +391,6 @@ class CoreExport VisData class CoreExport User : public EventHandler { private: - /** Pointer to creator. - * This is required to make use of core functions - * from within the User class. - */ - InspIRCd* ServerInstance; - /** A list of channels the user has a pending invite to. * Upon INVITE channels are added, and upon JOIN, the * channels are removed from this list. @@ -439,6 +433,12 @@ class CoreExport User : public EventHandler std::bitset<64> AllowedChanModes; public: + /** Pointer to creator. + * This is required to make use of core functions + * from within the User class. + */ + InspIRCd* ServerInstance; + /** Contains a pointer to the connect class a user is on from - this will be NULL for remote connections. * The pointer is guarenteed to *always* be valid. :) */ -- 2.39.5