summaryrefslogtreecommitdiff
path: root/modules/extra/db_mysql.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-27 00:42:38 -0500
committerAdam <Adam@anope.org>2010-12-27 00:42:38 -0500
commit49dd1c34096623e916f6e5aba44f7036738c3344 (patch)
treec21cc7991718061dfa5239e9e56b51b27cee3de5 /modules/extra/db_mysql.cpp
parentfce491e18c654c84f7d379beb202faa28f3b2b64 (diff)
Bug #1220 - Fixed an event in /hs activate and /ms del
Diffstat (limited to 'modules/extra/db_mysql.cpp')
-rw-r--r--modules/extra/db_mysql.cpp2
1 files changed, 1 insertions, 1 deletions
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));