diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 17:57:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 17:57:24 +0000 |
commit | bd59b1a9a283c09b318bd3a6cb93774d5961b794 (patch) | |
tree | a6a24a33ef748ec2c0e080acb51f961e9e4a81f0 /include/modules.h | |
parent | a9b90ecb4329498aba52da6aaa9812e3a70b8e11 (diff) |
Fixed support for implementation hooks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2654 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index 28dbadb2e..264354db9 100644 --- a/include/modules.h +++ b/include/modules.h @@ -280,7 +280,8 @@ enum Implementation { I_OnUserConnect, I_OnUserQuit, I_OnUserDisconnect, I_OnUse I_OnBackgroundTimer, I_OnSendList, I_OnPreCommand, I_OnCheckReady, I_OnUserRrgister, I_OnRawMode, I_OnCheckInvite, I_OnCheckKey, I_OnCheckLimit, I_OnCheckBan, I_OnStats, I_OnChangeLocalUserHost, I_OnChangeLocalUserGecos, I_OnLocalTopicChange, I_OnPostLocalTopicChange, I_OnEvent, I_OnRequest, I_OnOperCompre, I_OnGlobalOper, I_OnGlobalConnect, I_OnAddBan, I_OnDelBan, - I_OnRawSocketAccept, I_OnRawSocketClose, I_OnRawSocketWrite, I_OnRawSocketRead }; + I_OnRawSocketAccept, I_OnRawSocketClose, I_OnRawSocketWrite, I_OnRawSocketRead, I_OnChangeLocalUserGECOS, I_OnUserRegister, + I_OnOperCompare }; /** Base class for all InspIRCd modules * This class is the base class for InspIRCd modules. All modules must inherit from this class, @@ -308,7 +309,7 @@ class Module : public classbase */ virtual Version GetVersion(); - virtual void Implements(bool &Implements[255]); + virtual void Implements(char* Implements); /** Called when a user connects. * The details of the connecting user are available to you in the parameter userrec *user |