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

Comparing ircd-hybrid-7.3/modules/m_help.c (file contents):
Revision 1029 by michael, Sun Nov 8 13:10:50 2009 UTC vs.
Revision 1055 by michael, Thu Jan 28 09:03:31 2010 UTC

# Line 159 | Line 159 | dohelp(struct Client *source_p, const ch
159  
160    if (stat(path, &sb) < 0)
161    {
162    ilog(L_NOTICE, "help file %s not found", path);
162      sendto_one(source_p, form_str(ERR_HELPNOTFOUND),
163                 me.name, source_p->name, topic);
164      return;
# Line 167 | Line 166 | dohelp(struct Client *source_p, const ch
166  
167    if (!S_ISREG(sb.st_mode))
168    {
170    ilog(L_NOTICE, "help file %s not found", path);
169      sendto_one(source_p, form_str(ERR_HELPNOTFOUND),
170                 me.name, source_p->name, topic);
171      return;
# Line 209 | Line 207 | sendhelpfile(struct Client *source_p, co
207    while (fbgets(line, sizeof(line), file))
208    {
209      line[strlen(line) - 1] = '\0';
210 <    if(line[0] != '#')
210 >    if (line[0] != '#')
211      {
212        if (!started)
213        {
214          type = RPL_HELPSTART;
215 <        started = 1;
215 >        started = 1;
216        }
217        else
218          type = RPL_HELPTXT;

Diff Legend

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