summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-24 15:13:17 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-24 15:13:17 +0000
commit343f12b9b2d4e519b09877f76a00f6a0714509f2 (patch)
treeb51aee0ca78a19fd356cdc2788cab4530c7928c1 /include/users.h
parent638381c529a2f19c699718234d689e54ad459c97 (diff)
Add stuff so that modules can hook users by altering a pointer in the User class. Note that ssl modules still bind by port, but the idea of doing this change is so we can remove that logic next
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9187 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 07843b7c0..74b55202d 100644
--- a/include/users.h
+++ b/include/users.h
@@ -464,6 +464,10 @@ class CoreExport User : public connection
bool* AllowedChanModes;
public:
+ /** Module responsible for raw i/o
+ */
+ Module* io;
+
/** 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. :)
*/