oopsie daisy forgot 2 super imponrtant methods

This commit is contained in:
2026-05-09 00:02:41 +03:00
parent d739ddbd38
commit f13635fb5e
3 changed files with 82 additions and 0 deletions

View File

@@ -169,6 +169,16 @@ static nn_Exit ne_modemBullshit(nn_ModemRequest *req) {
return nn_pushModemMessage(C, req->localAddress, nn_getComputerAddress(C), req->send.port, 0, req->send.contents);
}
if(req->action == NN_MODEM_GETWAKEMESSAGE) {
req->getWake.len = 0;
req->getWake.isFuzzy = false;
return NN_OK;
}
if(req->action == NN_MODEM_SETWAKEMESSAGE) {
return NN_OK;
}
if(C) nn_setError(C, "ne: modem method not implemented");
return NN_EBADCALL;
}