From 49dd1c34096623e916f6e5aba44f7036738c3344 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 27 Dec 2010 00:42:38 -0500 Subject: Bug #1220 - Fixed an event in /hs activate and /ms del --- modules/extra/db_mysql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/extra/db_mysql.cpp') diff --git a/modules/extra/db_mysql.cpp b/modules/extra/db_mysql.cpp index 3cc0ceacb..6f2fcd832 100644 --- a/modules/extra/db_mysql.cpp +++ b/modules/extra/db_mysql.cpp @@ -1371,7 +1371,7 @@ class DBMySQL : public Module this->Escape(m->sender) + "', '" + this->Escape(m->text) + "', 'CHAN')"); } - void OnMemoDel(NickCore *nc, MemoInfo *mi, Memo *m) + void OnMemoDel(const NickCore *nc, MemoInfo *mi, Memo *m) { if (m) this->RunQuery("DELETE FROM `anope_ms_info` WHERE `receiver` = '" + this->Escape(nc->display) + "' AND `time` = " + stringify(m->time)); -- cgit