summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index cc5bb4b07..e24bbf69a 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -291,7 +291,7 @@ class CoreExport Module : public Extensible
* @param u The connecting user.
* @param exempt set to true/is true if the user should be excepted from bans etc
*/
- virtual void OnUserConnect(Reference<User> &u, bool &exempt) { }
+ virtual void OnUserConnect(User *u, bool &exempt) { }
/** Called when a new server connects to the network.
* @param s The server that has connected to the network