plugins/admin-flatfile/admin-users.sp
changeset 1432 d5001413aba7
parent 1403 ecb9c66fd4bb
child 1947 e73a1e51833b
     1.1 --- a/plugins/admin-flatfile/admin-users.sp	Sun Sep 16 03:32:00 2007 +0000
     1.2 +++ b/plugins/admin-flatfile/admin-users.sp	Sun Sep 16 03:45:06 2007 +0000
     1.3 @@ -162,6 +162,13 @@
     1.4  	return SMCParse_Continue;
     1.5  }
     1.6  
     1.7 +public SMCResult:ReadUsers_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 InitializeUserParser()
    1.15  {
    1.16  	if (g_hUserParser == INVALID_HANDLE)
    1.17 @@ -171,6 +178,7 @@
    1.18  					   ReadUsers_NewSection,
    1.19  					   ReadUsers_KeyValue,
    1.20  					   ReadUsers_EndSection);
    1.21 +		SMC_SetRawLine(g_hUserParser, ReadUsers_CurrentLine);
    1.22  	}
    1.23  }
    1.24