plugins/admin-flatfile/admin-groups.sp
changeset 1432 d5001413aba7
parent 1403 ecb9c66fd4bb
child 1947 e73a1e51833b
     1.1 --- a/plugins/admin-flatfile/admin-groups.sp	Sun Sep 16 03:32:00 2007 +0000
     1.2 +++ b/plugins/admin-flatfile/admin-groups.sp	Sun Sep 16 03:45:06 2007 +0000
     1.3 @@ -187,6 +187,13 @@
     1.4  	return SMCParse_Continue;
     1.5  }
     1.6  
     1.7 +public SMCResult:ReadGroups_CurrentLine(Handle:smc, const String:line[], lineno)
     1.8 +{
     1.9 +	g_CurrentLine = lineno;
    1.10 +	
    1.11 +	return SMCParse_Continue;
    1.12 +}
    1.13 +
    1.14  static InitializeGroupParser()
    1.15  {
    1.16  	if (g_hGroupParser == INVALID_HANDLE)
    1.17 @@ -196,6 +203,7 @@
    1.18  					   ReadGroups_NewSection,
    1.19  					   ReadGroups_KeyValue,
    1.20  					   ReadGroups_EndSection);
    1.21 +		SMC_SetRawLine(g_hGroupParser, ReadGroups_CurrentLine);
    1.22  	}
    1.23  }
    1.24