1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 14:16:37 +02:00

Bug #1220 - Fixed an event in /hs activate and /ms del

(cherry picked from commit 49dd1c3409)
This commit is contained in:
Adam
2010-12-27 00:42:38 -05:00
parent b5091a373e
commit 0c686e7168
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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));