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

threads web interface improvements, accessible now at /~nick/channel & /@place

This commit is contained in:
Gabor Adam Toth 2010-02-24 05:55:08 +01:00
parent bc0b9dd325
commit a5b52d8264
10 changed files with 372 additions and 343 deletions

View file

@ -384,6 +384,12 @@ object compile_object(string file) {
return rob;
}
# endif
if (sscanf(file, "%s/text.c", path) && path != "") {
rob = clone_object(NET_PATH "text");
rob -> sPath(path);
D2(if (rob) PP(("DB CLONED: %O becomes %s/text\n", rob, path));)
return rob;
}
if (sscanf(file, "place/%s.c", name) && name != "") {
#ifdef SANDBOX
string t;
@ -444,12 +450,6 @@ object compile_object(string file) {
rob, name, path));)
return rob;
}
if (sscanf(file, "%s/text.c", path) && path != "") {
rob = clone_object(NET_PATH "text");
rob -> sPath(path);
D2(if (rob) PP(("DB CLONED: %O becomes %s/text\n", rob, path));)
return rob;
}
# ifdef JABBER_PATH
if (abbrev("S:xmpp:", file)) {
rob = clone_object(JABBER_PATH "gateway");