Added #pragma deprecated to include files for deprecated functions and constants
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401274
This commit is contained in:
@@ -84,7 +84,7 @@ public ReadSimpleUsers()
|
||||
ReadAdminLine(const String:line[])
|
||||
{
|
||||
new String:auth[64];
|
||||
new cur_idx = StrBreak(line, auth, sizeof(auth));
|
||||
new cur_idx = BreakString(line, auth, sizeof(auth));
|
||||
new idx = cur_idx;
|
||||
|
||||
if (cur_idx == -1)
|
||||
@@ -98,7 +98,7 @@ ReadAdminLine(const String:line[])
|
||||
|
||||
/* Read flags */
|
||||
new String:flags[64];
|
||||
cur_idx = StrBreak(line[idx], flags, sizeof(flags));
|
||||
cur_idx = BreakString(line[idx], flags, sizeof(flags));
|
||||
idx += cur_idx;
|
||||
|
||||
if (flags[0] == '@')
|
||||
@@ -148,7 +148,7 @@ ReadAdminLine(const String:line[])
|
||||
if (cur_idx != -1)
|
||||
{
|
||||
decl String:password[64];
|
||||
StrBreak(line[idx], password, sizeof(password));
|
||||
BreakString(line[idx], password, sizeof(password));
|
||||
SetAdminPassword(admin, password);
|
||||
}
|
||||
|
||||
|
||||
@@ -77,10 +77,10 @@ public SMCResult:ReadUsers_KeyValue(Handle:smc,
|
||||
if (StrEqual(key, "auth"))
|
||||
{
|
||||
auth = true;
|
||||
StrCopy(g_CurAuth, sizeof(g_CurAuth), value);
|
||||
strcopy(g_CurAuth, sizeof(g_CurAuth), value);
|
||||
} else if (StrEqual(key, "identity")) {
|
||||
auth = true;
|
||||
StrCopy(g_CurIdent, sizeof(g_CurIdent), value);
|
||||
strcopy(g_CurIdent, sizeof(g_CurIdent), value);
|
||||
} else if (StrEqual(key, "password")) {
|
||||
SetAdminPassword(g_CurUser, value);
|
||||
} else if (StrEqual(key, "group")) {
|
||||
|
||||
Reference in New Issue
Block a user