summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-06-22 20:53:35 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-06-22 20:53:35 +0000
commit6ed75b02f06ebaac475ba7b583c7d802fb019fed (patch)
tree24823796dc43f87e50ac787577fc77a06d43f08f /src
parent41ed63ef051b6948a5a38be0622989caeb0c475e (diff)
- 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
Diffstat (limited to 'src')
-rw-r--r--src/motd.c2
1 files changed, 1 insertions, 1 deletions
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);