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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user