summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-13 20:57:49 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-13 20:57:49 +0000
commit5d6dcb9919caa44ac6af32e5b5ed0b8341afdf56 (patch)
tree8a639ebb8137c45ffb425e211d9db78e0b78f19b /include/users.h
parent98cb5d73ee686acff62e1969df0807e7ab3e3ade (diff)
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
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h12
1 files 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. :)
*/