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 01:02:18 -0500
commit0c686e7168cfbdd74ec9d2b4df20f0bc224f677e (patch)
treebc06ababfd4412831cd9b24f8e9d277936961c45 /modules/extra/db_mysql.cpp
parentb5091a373e8ee9a2781ccc7673597f0f97b5e1b3 (diff)
Bug #1220 - Fixed an event in /hs activate and /ms del
(cherry picked from commit 49dd1c34096623e916f6e5aba44f7036738c3344)
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 fb1d21b45..27d99190f 100644
--- a/modules/extra/db_mysql.cpp
+++ b/modules/extra/db_mysql.cpp
@@ -1314,7 +1314,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));