We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ed64e9 commit f45d325Copy full SHA for f45d325
1 file changed
Sources/SwiftMTH/TelnetSession.swift
@@ -679,9 +679,13 @@ public final class TelnetSession {
679
// MARK: - Handler: GMCP
680
681
private func processDoGmcp() {
682
- if msdpManager != nil { return }
683
- log("INFO MSDP OVER GMCP INITIALIZED")
684
commFlags.insert(.gmcp)
+ if msdpManager != nil {
+ msdpManager?.usesGMCP = true
685
+ log("INFO GMCP ENABLED (MSDP already active)")
686
+ return
687
+ }
688
+ log("INFO MSDP OVER GMCP INITIALIZED")
689
initializeMSDP()
690
}
691
0 commit comments