mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-12-05 00:22:19 +00:00
+
This commit is contained in:
parent
069a3b66ae
commit
ed4330ec6b
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user