From e4839dc44353952dde32620035c07863b918eb15 Mon Sep 17 00:00:00 2001 From: peavey Date: Sun, 11 Oct 2009 18:03:17 +0000 Subject: 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 --- include/inspircd.h | 8 ++++++++ include/users.h | 3 --- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'include') 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 MyClass; -- cgit v1.2.3