From 6ed75b02f06ebaac475ba7b583c7d802fb019fed Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 22 Jun 2013 20:53:35 +0000 Subject: - motd.c: fixed possible core with "STATS z" as reported by Fawkes git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2319 82007160-df01-0410-b94d-b575c5fd34c7 --- src/motd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/motd.c b/src/motd.c index 8f4d9b5..4d5bde9 100644 --- a/src/motd.c +++ b/src/motd.c @@ -466,7 +466,7 @@ motd_memory_count(struct Client *source_p) DLINK_FOREACH(ptr, MotdList.other.head) { - const struct MotdCache *motd = ptr->data; + const struct Motd *motd = ptr->data; mt++; mtm += sizeof(struct Motd); -- cgit