diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-07-19 15:43:53 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-07-19 15:43:53 +0000 |
commit | ce86ae58dcf0076845ec5e2bc089228035a5fb4f (patch) | |
tree | 3d026543e6c9fa25aa0cdf322b9812c593ec6a0b /include | |
parent | 49b76108c272964598dc866c8728472ec1320f58 (diff) |
- motd.(c|h): fixed core with zero byte length ircd.motd. Reported by Fawkes
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2409 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'include')
-rw-r--r-- | include/motd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/motd.h b/include/motd.h index b8b715a..e113bc4 100644 --- a/include/motd.h +++ b/include/motd.h @@ -69,7 +69,7 @@ struct MotdCache unsigned int maxcount; /**< Number of lines allocated for message. */ unsigned int count; /**< Actual number of lines used in message. */ struct tm modtime; /**< Last modification time from file. */ - char motd[1][MOTD_LINESIZE]; /**< Message body. */ + char motd[][MOTD_LINESIZE]; /**< Message body. */ }; /* motd_send sends a MOTD off to a user */ |