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
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "psyc.h"
|
||||
#include <net.h>
|
||||
#include <url.h>
|
||||
#include <uniform.h>
|
||||
#include <tls.h>
|
||||
#include <text.h>
|
||||
|
||||
|
|
|
@ -81,6 +81,9 @@ void dispatch(mixed header_vars, mixed varops, mixed method, mixed body) {
|
|||
vop[2] = 0;
|
||||
}
|
||||
break;
|
||||
case "_date":
|
||||
vop[2] = to_int(vop[2]) + PSYC_EPOCH;
|
||||
break;
|
||||
case "_time":
|
||||
case "_amount":
|
||||
vop[2] = to_int(vop[2]);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "psyc.h"
|
||||
#include <net.h>
|
||||
#include <url.h>
|
||||
#include <uniform.h>
|
||||
#include <text.h>
|
||||
|
||||
inherit NET_PATH "spyc/parse";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue