summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-09-20 15:21:32 -0400
committerAdam <Adam@anope.org>2013-09-20 15:21:32 -0400
commit8641b995c43593289dc4e66cbf980069b80d6d6b (patch)
tree07b4c53e9b69300b7d24ab45988412d05ca214dd /include/modules.h
parentb880240d727a4375522851daea0abf468f588a78 (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.h11
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