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:
parent
3b837b2f1f
commit
ca4da0725b
9 changed files with 212 additions and 82 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue