summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-11 18:03:17 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-11 18:03:17 +0000
commite4839dc44353952dde32620035c07863b918eb15 (patch)
tree1c8a6f30c76c320b9aceb916f2c58645b1906b29 /include
parentdeb81c174517475845e28b6e24c40cdf3f8fb4f5 (diff)
Move 2 static extensibles from user class to inspircd class for global access in an attempt to further fix windows build.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11838 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h8
-rw-r--r--include/users.h3
2 files changed, 8 insertions, 3 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index a9a64e2b0..182d33c9c 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -508,6 +508,14 @@ class CoreExport InspIRCd : public classbase
*/
ProtocolInterface* PI;
+ /** Holds extensible for user nickforced
+ */
+ LocalIntExt NICKForced;
+
+ /** Holds extensible for user operquit
+ */
+ LocalStringExt OperQuit;
+
/** Get the current time
* Because this only calls time() once every time around the mainloop,
* it is much faster than calling time() directly.
diff --git a/include/users.h b/include/users.h
index ac3b2b459..884aaceeb 100644
--- a/include/users.h
+++ b/include/users.h
@@ -264,9 +264,6 @@ class CoreExport User : public StreamSocket
std::bitset<64> AllowedChanModes;
public:
- static LocalIntExt NICKForced;
- static LocalStringExt OperQuit;
-
/** Contains a pointer to the connect class a user is on from - this will be NULL for remote connections.
*/
reference<ConnectClass> MyClass;