1.1 --- a/plugins/admin-flatfile/admin-groups.sp Tue Feb 06 23:39:25 2007 +0000
1.2 +++ b/plugins/admin-flatfile/admin-groups.sp Wed Feb 07 02:17:19 2007 +0000
1.3 @@ -1,3 +1,23 @@
1.4 +/**
1.5 + * admin-groups.sp
1.6 + * Reads the admin_groups.cfg file. Do not compile this directly.
1.7 + * This file is part of SourceMod, Copyright (C) 2004-2007 AlliedModders LLC
1.8 + *
1.9 + * This program is free software; you can redistribute it and/or
1.10 + * modify it under the terms of the GNU General Public License
1.11 + * as published by the Free Software Foundation; either version 2
1.12 + * of the License, or (at your option) any later version.
1.13 + *
1.14 + * This program is distributed in the hope that it will be useful,
1.15 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.16 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.17 + * GNU General Public License for more details.
1.18 + *
1.19 + * You should have received a copy of the GNU General Public License
1.20 + * along with this program; if not, write to the Free Software
1.21 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1.22 + */
1.23 +
1.24 #define GROUP_STATE_NONE 0
1.25 #define GROUP_STATE_GROUPS 1
1.26 #define GROUP_STATE_INGROUP 2
1.27 @@ -11,8 +31,6 @@
1.28 static g_GroupPass = 0
1.29 static bool:g_NeedReparse = false;
1.30
1.31 -//:TODO: reparsing
1.32 -
1.33 public SMCResult:ReadGroups_NewSection(Handle:smc, const String:name[], bool:opt_quotes)
1.34 {
1.35 if (g_IgnoreLevel)
1.36 @@ -168,7 +186,7 @@
1.37 }
1.38 }
1.39
1.40 -InternalReadGroups(const String:path[], pass)
1.41 +static InternalReadGroups(const String:path[], pass)
1.42 {
1.43 /* Set states */
1.44 InitGlobalStates();