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:
parent
a4e16cd2c4
commit
8e4e990261
46 changed files with 246 additions and 101 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include "common.h"
|
||||
#include <net.h>
|
||||
#include <url.h>
|
||||
#include <uniform.h>
|
||||
#include <psyc.h>
|
||||
|
||||
#ifdef __MCCP__
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <net.h>
|
||||
#include <person.h>
|
||||
#include <services.h>
|
||||
#include <url.h>
|
||||
#include <uniform.h>
|
||||
#include <psyc.h>
|
||||
|
||||
// SECURITY CONCERN:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue