From 91a1e2faaaeac3207206eee52022457ce560b9c5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 14 Jul 2007 01:46:28 +0000 Subject: [PATCH] fixed bug amb513, comments not being removed --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401113 --- plugins/admin-flatfile/admin-simple.sp | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/plugins/admin-flatfile/admin-simple.sp b/plugins/admin-flatfile/admin-simple.sp index 93bc945f..5ca3fae1 100644 --- a/plugins/admin-flatfile/admin-simple.sp +++ b/plugins/admin-flatfile/admin-simple.sp @@ -39,6 +39,36 @@ public ReadSimpleUsers() break; } + /* Trim comments */ + new len = strlen(line); + new bool:ignoring = false; + for (new i=0; i