diff options
author | Adam <Adam@anope.org> | 2013-09-20 15:21:32 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-20 15:21:32 -0400 |
commit | 8641b995c43593289dc4e66cbf980069b80d6d6b (patch) | |
tree | 07b4c53e9b69300b7d24ab45988412d05ca214dd /include/modules.h | |
parent | b880240d727a4375522851daea0abf468f588a78 (diff) |
Merge the two memo del events into one. Since they had the same name it was confusing the event system
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/modules.h b/include/modules.h index 084a8dc26..f784c9cb8 100644 --- a/include/modules.h +++ b/include/modules.h @@ -876,18 +876,11 @@ class CoreExport Module : public Extensible virtual void OnMemoSend(const Anope::string &source, const Anope::string &target, MemoInfo *mi, Memo *m) { throw NotImplementedException(); } /** Called when a memo is deleted - * @param nc The nickcore of the memo being deleted + * @param target The target the memo is being deleted from (nick or channel) * @param mi The memo info * @param m The memo */ - virtual void OnMemoDel(NickCore *nc, MemoInfo *mi, const Memo *m) { throw NotImplementedException(); } - - /** Called when a memo is deleted - * @param ci The channel of the memo being deleted - * @param mi The memo info - * @param m The memo - */ - virtual void OnMemoDel(ChannelInfo *ci, MemoInfo *mi, const Memo *m) { throw NotImplementedException(); } + virtual void OnMemoDel(const Anope::string &target, MemoInfo *mi, const Memo *m) { throw NotImplementedException(); } /** Called when a mode is set on a channel * @param c The channel |