You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ExternalMechanism.kt 400B

123456789101112131415
  1. package com.dmdirc.ktirc.sasl
  2. import com.dmdirc.ktirc.IrcClient
  3. import com.dmdirc.ktirc.messages.sendAuthenticationMessage
  4. internal class ExternalMechanism : SaslMechanism {
  5. override val ircName = "EXTERNAL"
  6. override val priority = 100
  7. override fun handleAuthenticationEvent(client: IrcClient, data: ByteArray?) {
  8. client.sendAuthenticationMessage("+")
  9. }
  10. }