Log message:
* Don't core if no motd present. Thanks to Amarande for that one.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@352
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2001-01-02 Perry Lorier <isomer@coders.net>
+ * ircd/motd.c: don't core if the motd isn't found. Bug found by
+ Amarande.
+
2001-01-02 Perry Lorier <isomer@coders.net>
* ircd/s_err.c: Added third param to 004 - the channel modes that tage params. Used by hybrid/epic.
* ircd/s_channels.c: Added fix for msg'ing a -n+m channel - thanks
cache = motd_cache(motd_lookup(cptr));
- if (!feature_bool(FEAT_NODEFAULTMOTD))
+ if (!feature_bool(FEAT_NODEFAULTMOTD) || !cache)
motd_forward(cptr, cache);
else {
send_reply(cptr, RPL_MOTDSTART, cli_name(&me));