diff --git a/src/LogHandler.kt b/src/LogHandler.kt index 221a6f2..dda040d 100644 --- a/src/LogHandler.kt +++ b/src/LogHandler.kt @@ -16,7 +16,7 @@ val listenrc = rclistener() val tailerfr = Tailer.create(LogFilefr, listenfr, 2000, true) val tailerrc = Tailer.create(LogFileRc, listenrc, 2000, true) -enum class supportedClients{hexchat, mirc, ii} +enum class supportedClients{hexchat, mirc, ii, adiirc} var frtailerStopped = false diff --git a/src/Main.kt b/src/Main.kt index 4622cb7..db12725 100644 --- a/src/Main.kt +++ b/src/Main.kt @@ -20,7 +20,6 @@ import java.util.* import kotlin.collections.ArrayList import kotlin.concurrent.fixedRateTimer import kotlin.properties.Delegates -import kotlin.system.exitProcess class KeyProcessor : KeyListener{ @@ -45,7 +44,7 @@ class windowListen : WindowAdapter(){ override fun windowClosed(e: WindowEvent?) { super.windowClosed(e) terminal!!.exitPrivateMode() - exitProcess(0) + System.exit(0) } }