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.

WelcomeProcessor.kt 344B

123456789101112
  1. package com.dmdirc.ktirc.messages
  2. import com.dmdirc.ktirc.events.ServerWelcome
  3. import com.dmdirc.ktirc.model.IrcMessage
  4. internal class WelcomeProcessor : MessageProcessor {
  5. override val commands = arrayOf("001")
  6. override fun process(message: IrcMessage) = listOf(ServerWelcome(message.time, String(message.params[0])))
  7. }