I'm having a strange issue where OnPluginTelnetRequest is called with "SENT_DO" even if no plugin anywhere has responded true to a "WILL". Furthermore, it falls into an infinite subnegotiation sequence with the server, as I get an infinite sequence of WILL calls followed by SENT_DO calls. Here's the code I'm using:
The SENT_DO branch is still called even if I remove the WILL branch. No other plugins are installed. I'm using v4.65, updated from v4.50. (A wide gap, I know.) My previous version didn't have this problem; I figure it's probably from the plugin callback changes.
function OnPluginTelnetRequest (opt, data)
if opt ~= codes.GMCP then
return
end
if data == "WILL" then
return true
elseif data == "SENT_DO" then
Note("GMCP enabled.\n")
SendGMCP("Core.Hello ", CLIENT_ID)
SendGMCP("Core.Supports.Set ", GMCP_options)
end
endThe SENT_DO branch is still called even if I remove the WILL branch. No other plugins are installed. I'm using v4.65, updated from v4.50. (A wide gap, I know.) My previous version didn't have this problem; I figure it's probably from the plugin callback changes.