mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-08 19:41:00 +00:00
fix it for now
This commit is contained in:
parent
75467224ae
commit
6e5c5b98db
@ -216,10 +216,3 @@ varargs string make_query_string(mapping params, int sort) {
|
||||
return q;
|
||||
}
|
||||
|
||||
object checkToken(mapping query) {
|
||||
string nick;
|
||||
object user;
|
||||
if (nick = query["user"]) user = find_person(nick);
|
||||
if (user && user->validToken(query["token"])) return user;
|
||||
return 0;
|
||||
}
|
||||
|
@ -15,9 +15,7 @@
|
||||
|
||||
inherit NET_PATH "place/owned";
|
||||
|
||||
int qHistoryPersistentLimit() {
|
||||
return 0;
|
||||
}
|
||||
int qHistoryPersistentLimit() { return 0; }
|
||||
|
||||
canPost(snicker) { return qAide(snicker); }
|
||||
canReply(snicker) { return qAide(snicker); }
|
||||
@ -532,6 +530,14 @@ void displayFooter() {
|
||||
w("_HTML_tail_threads", "</body></html>");
|
||||
}
|
||||
|
||||
static object checkToken(mapping query) {
|
||||
string nick;
|
||||
object user;
|
||||
if (nick = query["user"]) user = find_person(nick);
|
||||
if (user && user->validToken(query["token"])) return user;
|
||||
return 0;
|
||||
}
|
||||
|
||||
htget(prot, query, headers, qs, data) {
|
||||
mapping entrymap;
|
||||
mixed target;
|
||||
|
Loading…
Reference in New Issue
Block a user