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 5e217d078..1213e60ca 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -265,7 +265,7 @@ class Module : public classbase
* This event is only called when the user is fully registered when they quit. To catch
* raw disconnections, use the OnUserDisconnect method.
*/
- virtual void OnUserQuit(userrec* user);
+ virtual void OnUserQuit(userrec* user, std::string message);
/** Called whenever a user's socket is closed.
* The details of the exiting user are available to you in the parameter userrec *user