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

replace the local server nickspace by autoalias!

This commit is contained in:
psyc://psyced.org/~lynX 2009-03-04 00:40:26 +01:00
parent a4e16cd2c4
commit 8e4e990261
46 changed files with 246 additions and 101 deletions

View file

@ -16,7 +16,7 @@
#include <services.h>
#include <person.h>
#include <driver.h>
#include <url.h>
#include <uniform.h>
#include <text.h>
#include <psyc.h>

View file

@ -5,7 +5,7 @@
#include "common.h"
#include <net.h>
#include <url.h>
#include <uniform.h>
#include <psyc.h>
#ifdef __MCCP__

View file

@ -73,7 +73,12 @@ static int build_header(string key, mixed val, mapping vars) {
#endif
}
} else if (intp(val)) {
#ifdef SPYC
klopp = abbrev("_date", key) ? to_string(val - PSYC_EPOCH)
: to_string(val);
#else
klopp = to_string(val);
#endif
} else {
mixed k,d, sep;

View file

@ -322,6 +322,8 @@ vamixed parse(string a) {
// intermediate hack in lack of real type support
// which needs to be done in net/spyc
if (abbrev("_time", vname)) vvalue = to_int(vvalue);
// unused as yet: else if (abbrev("_date", vname))
// vvalue = PSYC_EPOCH + to_int(vvalue);
#endif
cvars[lastvar = vname] = vvalue;
#ifdef SYSTEM_SECRET

View file

@ -7,7 +7,7 @@
// einen generischen relay für allerlei zwecke.
#include <net.h>
#include <url.h>
#include <uniform.h>
//#include <text.h>
//inherit NET_PATH "gateway/generic";

View file

@ -5,7 +5,7 @@
#include <net.h>
#include <person.h>
#include <services.h>
#include <url.h>
#include <uniform.h>
#include <psyc.h>
// SECURITY CONCERN: