diff options
| author | Adam <Adam@anope.org> | 2011-08-22 17:14:18 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-08-22 17:14:18 -0400 |
| commit | b5b2c422421b7544c00a51151ce1bc43e4f5e6de (patch) | |
| tree | b16abd076a4ec9386f0fa200608e95ef52db0f67 /include | |
| parent | a2f92b642cbc665d321d20d0ebaa106063aa5562 (diff) | |
Removed this ondeleteobject event, was for m_async_commands which died
Diffstat (limited to 'include')
| -rw-r--r-- | include/anope.h | 1 | ||||
| -rw-r--r-- | include/modules.h | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/include/anope.h b/include/anope.h index 1056c05ca..5eeee0a04 100644 --- a/include/anope.h +++ b/include/anope.h @@ -460,7 +460,6 @@ class CoreExport Base virtual ~Base(); void AddReference(dynamic_reference_base *r); void DelReference(dynamic_reference_base *r); - static void operator delete(void *ptr); }; class dynamic_reference_base : public Base diff --git a/include/modules.h b/include/modules.h index e16b8150b..5ba1be938 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1019,11 +1019,6 @@ class CoreExport Module : public Extensible * @param msg The message */ virtual void OnPrivmsg(User *u, Channel *c, Anope::string &msg) { } - - /** Called when any object is deleted - * @param b The object - */ - virtual void OnDeleteObject(Base *b) { } }; /** Implementation-specific flags which may be set in ModuleManager::Attach() @@ -1077,7 +1072,7 @@ enum Implementation I_OnServerQuit, I_OnTopicUpdated, I_OnEncrypt, I_OnDecrypt, I_OnChannelModeSet, I_OnChannelModeUnset, I_OnUserModeSet, I_OnUserModeUnset, I_OnChannelModeAdd, I_OnUserModeAdd, - I_OnMLock, I_OnUnMLock, I_OnServerSync, I_OnUplinkSync, I_OnBotPrivmsg, I_OnPrivmsg, I_OnDeleteObject, + I_OnMLock, I_OnUnMLock, I_OnServerSync, I_OnUplinkSync, I_OnBotPrivmsg, I_OnPrivmsg, I_END }; |
