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

Comparing ircd-hybrid-8/src/motd.c (file contents):
Revision 1325 by michael, Sat Mar 31 10:29:02 2012 UTC vs.
Revision 1446 by michael, Mon Jun 25 20:05:12 2012 UTC

# Line 104 | Line 104 | send_message_file(struct Client *source_
104        }
105        break;
106  
107    case OPER_MOTD:
108      if (motdToPrint->contentsOfFile != NULL)
109      {
110        sendto_one(source_p, form_str(RPL_OMOTDSTART),
111                   me.name, source_p->name, me.name);
112
113        sendto_one(source_p, form_str(RPL_OMOTD),
114                   me.name, source_p->name, motdToPrint->lastChangedDate);
115
116        for (linePointer = motdToPrint->contentsOfFile; linePointer;
117             linePointer = linePointer->next)
118        {
119          sendto_one(source_p, form_str(RPL_OMOTD),
120                     me.name, source_p->name, linePointer->line);
121        }
122        sendto_one(source_p, form_str(RPL_ENDOFOMOTD),
123                   me.name, source_p->name);
124      }
125      break;
126
107    case ISSUPPORT:
108        if (motdToPrint->contentsOfFile != NULL)
109        {

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)