1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

added ~user#updates channel; place/threads improvements

This commit is contained in:
Gabor Adam Toth 2010-02-15 01:31:55 +01:00
parent 3b837b2f1f
commit ca4da0725b
9 changed files with 212 additions and 82 deletions

View file

@ -546,12 +546,13 @@ int boss(mixed guy) {
}
mixed find_place(mixed a) {
P3((">> find_place(%O)\n", a))
string path, err;
object o;
if (objectp(a)) return a;
if (path = lower_uniform(a)) return path;
unless (a = legal_name(a)) return 0;
unless (a = legal_name(a, 1)) return 0;
path = PLACE_PATH + lower_case(a); // assumes amylaar
o = find_object(path);
if (o) return o;