X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fmotd.c;h=4fe4a56f870d19fee4884624d88fe8f54c5d5173;hb=752cb13c5e4734f879d061ce27933c0543214ecb;hp=2dc5daaafc497eb11a756ab6b72e3a09b5bfc112;hpb=cb396c94ca182a7ebbe9e47f9908b93cc1594ad2;p=ircu2.10.12-pk.git diff --git a/ircd/motd.c b/ircd/motd.c index 2dc5daa..4fe4a56 100644 --- a/ircd/motd.c +++ b/ircd/motd.c @@ -259,7 +259,7 @@ motd_signon(struct Client* cptr) 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));