diff options
author | Adam <Adam@anope.org> | 2011-08-01 22:37:27 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-01 22:37:27 -0400 |
commit | f7adc0b35b50f06706872a161f1c7476e6e6981e (patch) | |
tree | 91fbe281f2772136a327fd4fc4c64740d1ab65ab /include/modules.h | |
parent | 710c02f3bd3581b7c5b3d48e7604756975219fc8 (diff) |
Rewrote the access systems and added a flags access system
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/include/modules.h b/include/modules.h index 28627f506..baf437ff8 100644 --- a/include/modules.h +++ b/include/modules.h @@ -646,13 +646,6 @@ class CoreExport Module : public Extensible */ virtual void OnAccessDel(ChannelInfo *ci, User *u, ChanAccess *access) { } - /** Called when access is changed - * @param ci The channel - * @param u The user who changed the access - * @param u access The access changed - */ - virtual void OnAccessChange(ChannelInfo *ci, User *u, ChanAccess *access) { } - /** Called when access is added * @param ci The channel * @param u The user who added the access @@ -1029,7 +1022,7 @@ enum Implementation I_OnNickUpdate, /* ChanServ */ - I_OnChanForbidden, I_OnChanSuspend, I_OnChanDrop, I_OnPreChanExpire, I_OnChanExpire, I_OnAccessAdd, I_OnAccessChange, + I_OnChanForbidden, I_OnChanSuspend, I_OnChanDrop, I_OnPreChanExpire, I_OnChanExpire, I_OnAccessAdd, I_OnAccessDel, I_OnAccessClear, I_OnLevelChange, I_OnChanRegistered, I_OnChanUnsuspend, I_OnDelChan, I_OnChannelCreate, I_OnChannelDelete, I_OnAkickAdd, I_OnAkickDel, I_OnCheckKick, I_OnChanInfo, I_OnFindChan, @@ -1241,17 +1234,6 @@ class CallBack : public Timer } }; -class CoreExport Service : public Base -{ - public: - Module *owner; - Anope::string name; - - Service(Module *o, const Anope::string &n); - - virtual ~Service(); -}; - template<typename T> class service_reference : public dynamic_reference<T> { |