mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-09 20:11:00 +00:00
_request_do_subscribe
This commit is contained in:
parent
5220470091
commit
37a4720711
@ -1110,6 +1110,7 @@ vamixed startParse(string a) {
|
|||||||
restart();
|
restart();
|
||||||
if (isServer()) greet();
|
if (isServer()) greet();
|
||||||
}
|
}
|
||||||
|
// new syntax is so broken, we should not pretend to support it yet FIXME
|
||||||
# if defined(SPYC_PATH) && defined(USE_SPYC)
|
# if defined(SPYC_PATH) && defined(USE_SPYC)
|
||||||
else if (a == "|") { // new S_GLYPH_PACKET_DELIMITER
|
else if (a == "|") { // new S_GLYPH_PACKET_DELIMITER
|
||||||
object o = clone_object(SPYC_PATH "server");
|
object o = clone_object(SPYC_PATH "server");
|
||||||
|
@ -1637,6 +1637,21 @@ case "_invite":
|
|||||||
return invite(t, vars);
|
return invite(t, vars);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
case "_subscribe_permanent":
|
||||||
|
case "_subscribe_temporary":
|
||||||
|
case "_subscribe":
|
||||||
|
if (t = vars["_group"] || vars["_focus"]) {
|
||||||
|
subscribe(family == "_subscribe_permanent" ?
|
||||||
|
SUBSCRIBE_PERMANENT : SUBSCRIBE_TEMPORARY, t);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
case "_unsubscribe":
|
||||||
|
if (t = vars["_group"] || vars["_focus"]) {
|
||||||
|
subscribe(SUBSCRIBE_NOT, t);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
case "_remove_register":
|
case "_remove_register":
|
||||||
case "_register_remove": // to go
|
case "_register_remove": // to go
|
||||||
// unregister a user? only if you are trustworthy!
|
// unregister a user? only if you are trustworthy!
|
||||||
|
Loading…
Reference in New Issue
Block a user