fixed bug am41259

This commit is contained in:
Borja Ferrer 2006-08-21 02:08:01 +00:00
parent 4692335abb
commit 4fc2c9cebb

View File

@ -322,7 +322,7 @@ AddAdmin(id, auth[], accessflags[], password[], flags[])
// If we came here, steamid doesn't exist in users.ini. Add it. // If we came here, steamid doesn't exist in users.ini. Add it.
new linetoadd[512] new linetoadd[512]
format(linetoadd, 511, "^"%s^" ^"%s^" ^"%s^" ^"%s^"", auth, password, accessflags, flags) formatex(linetoadd, 511, "^r^n^"%s^" ^"%s^" ^"%s^" ^"%s^"", auth, password, accessflags, flags)
console_print(id, "Adding:^n%s", linetoadd) console_print(id, "Adding:^n%s", linetoadd)
if (!write_file(configsDir, linetoadd)) if (!write_file(configsDir, linetoadd))