Add OPER, DIE client messages
Signed-off-by: observer <admin@shr4pnel.com>
This commit is contained in:
@@ -63,6 +63,15 @@ sealed class ClientMessage(val strName: String) {
|
||||
override fun toWireIntermediate() = "PASS $password"
|
||||
}
|
||||
|
||||
class Oper(val name: String, val password: String): ClientMessage("OPER") {
|
||||
override fun toWireIntermediate() = "OPER $name $password"
|
||||
|
||||
}
|
||||
|
||||
class Die(): ClientMessage("DIE") {
|
||||
override fun toWireIntermediate() = "DIE"
|
||||
}
|
||||
|
||||
class UNIMPLEMENTED() : ClientMessage("") {
|
||||
override fun toWireIntermediate() = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user