51 |
|
#include "s_misc.h" |
52 |
|
#include "parse.h" |
53 |
|
#include "watch.h" |
54 |
< |
|
54 |
> |
#include "message.h" |
55 |
|
|
56 |
|
static char umode_buffer[IRCD_BUFSIZE]; |
57 |
|
|
1171 |
|
source_p->name, source_p->id); |
1172 |
|
|
1173 |
|
show_lusers(source_p); |
1174 |
< |
|
1175 |
< |
if (ConfigFileEntry.short_motd) |
1176 |
< |
{ |
1177 |
< |
sendto_one(source_p, ":%s NOTICE %s :*** Notice -- motd was last changed at %s", |
1178 |
< |
me.name, source_p->name, ConfigFileEntry.motd.lastChangedDate); |
1179 |
< |
sendto_one(source_p, |
1180 |
< |
":%s NOTICE %s :*** Notice -- Please read the motd if you haven't " |
1181 |
< |
"read it", me.name, source_p->name); |
1182 |
< |
sendto_one(source_p, form_str(RPL_MOTDSTART), |
1183 |
< |
me.name, source_p->name, me.name); |
1184 |
< |
sendto_one(source_p, form_str(RPL_MOTD), |
1185 |
< |
me.name, source_p->name, |
1186 |
< |
"*** This is the short motd ***"); |
1187 |
< |
sendto_one(source_p, form_str(RPL_ENDOFMOTD), |
1188 |
< |
me.name, source_p->name); |
1189 |
< |
} |
1190 |
< |
else |
1191 |
< |
send_message_file(source_p, &ConfigFileEntry.motd); |
1174 |
> |
motd_signon(source_p); |
1175 |
|
} |
1176 |
|
|
1177 |
|
/* check_xline() |