From ef5c945e0bf37f534c93fe7dc6303c9e7577615f Mon Sep 17 00:00:00 2001 From: Adam- Date: Mon, 29 Mar 2010 21:01:52 +0000 Subject: Fixed bug #1149 - Number memos in MySQL correctly git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2842 5417fbe8-f217-4b02-8779-1006273d7864 --- src/memoserv.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/memoserv.c') diff --git a/src/memoserv.c b/src/memoserv.c index e319210a2..262964cd3 100644 --- a/src/memoserv.c +++ b/src/memoserv.c @@ -274,6 +274,9 @@ void memo_send(User * u, char *name, char *text, int z) m->time = time(NULL); m->text = sstrdup(text); m->flags = MF_UNREAD; +#ifdef USE_MYSQL + m->id = 0; +#endif /* Set notify sent flag - DrStein */ if (z == 2) { m->flags |= MF_NOTIFYS; -- cgit