the following snippet illustrates the issue clearly:
local function showModemMessageProblem()
os.queueEvent("modem_message", "back", 155, 125, "foo")
print(os.pullEvent())
print(os.pullEvent())
end
showModemMessageProblem()
Queueing of modem_message implicitly generates a rednet_message, i guess this is a fix for backwards compatibility.
I have code which buffers events it doesn't care about at the time to re-queue them later on, which leads to lots and lots of duplicated rednet_messages because of this.
I don't know if you consider this a bug, but to me, this is unexpected behaviour which shouldn't happen, imho the right way would be to generate both events at the source once.











