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 |
|
{ |