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

new submissions using MIT license

Conflicts:
	world/drivers/ldmud/master/accept.c
	world/net/library/legal.c
	world/net/user.c
This commit is contained in:
psyc://psyced.org/~lynX 2010-02-21 10:03:11 +01:00
commit 949734b379
11 changed files with 157 additions and 41 deletions

View file

@ -547,11 +547,14 @@ int boss(mixed guy) {
mixed find_place(mixed a) {
P3((">> find_place(%O)\n", a))
string path, err;
string path, err, nick;
object o;
if (objectp(a)) return a;
if (path = lower_uniform(a)) return path;
#ifdef _flag_enable_module_microblogging
if (sscanf(a, "~%s", nick) && legal_name(nick)) a += "#follow";
#endif
unless (a = legal_name(a, 1)) return 0;
path = PLACE_PATH + lower_case(a); // assumes amylaar
o = find_object(path);