/[svn]/ircd-hybrid-7.2/src/ircd_parser.y
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/ircd_parser.y

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 572 by michael, Sat Feb 11 23:11:38 2006 UTC revision 573 by michael, Mon May 1 09:40:37 2006 UTC
# Line 616  serverinfo_sid: IRCD_SID '=' QSTRING ';' Line 616  serverinfo_sid: IRCD_SID '=' QSTRING ';'
616    /* this isn't rehashable */    /* this isn't rehashable */
617    if (ypass == 2 && !ServerInfo.sid)    if (ypass == 2 && !ServerInfo.sid)
618    {    {
619      if ((strlen(yylval.string) == IRC_MAXSID) && IsDigit(yylval.string[0])      if (valid_sid(yylval.string))
         && IsAlNum(yylval.string[1]) && IsAlNum(yylval.string[2]))  
     {  
620        DupString(ServerInfo.sid, yylval.string);        DupString(ServerInfo.sid, yylval.string);
     }  
621      else      else
622      {      {
623        ilog(L_ERROR, "Ignoring config file entry SID -- invalid SID. Aborting.");        ilog(L_ERROR, "Ignoring config file entry SID -- invalid SID. Aborting.");

Legend:
Removed from v.572  
changed lines
  Added in v.573

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28