ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.1.x/src/s_user.c
(Generate patch)

Comparing ircd-hybrid/branches/8.1.x/src/s_user.c (file contents):
Revision 2144 by michael, Thu May 30 10:56:53 2013 UTC vs.
Revision 2151 by michael, Fri May 31 18:59:22 2013 UTC

# Line 51 | Line 51
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  
# Line 1171 | Line 1171 | user_welcome(struct Client *source_p)
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()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines