banishd.c
lpc4/lib/obj/d/banishd.c · 222 B
From the archive lpc4.05.14.tar.gz
Download the archive « Back to the archive contents
int query_banished(string s)
{
return (file_size("/save/banish")>0) && !!db_get("/save/banish",s);
}
int banish(string s)
{
s=lower_case(s);
if(db_get("/save/players",s)) return 0;
db_set("/save/banish",s,"");
}