1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00
This commit is contained in:
psyc://psyced.org/~lynX 2011-05-24 19:02:03 +02:00
parent 069a3b66ae
commit ed4330ec6b

View file

@ -86,7 +86,7 @@ void dispatch(mapping rvars, mapping evars, mixed method, mixed body) {
}
void psyc_dispatch(mixed p) {
if (p[PACKET_METHOD][0] != '_') {
if (p[PACKET_METHOD] && p[PACKET_METHOD][0] != '_') {
log_file("SPYC", "%O SYNTAX %O\n", query_ip_name(), p);
croak("_error_invalid_method_compact",
"Compact methods undefined as yet.");