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YDUP4WX2DUEOPDHE5SP5M3MUORP5DNO63CJZULXAC
XWKX7SLAF5TVGPZTUF43XP6JW5QVMUAW2CHLPP3KBNZP7YCLOFIQC
match cmd.verb {
'connect' {
host := cmd.params['host']
mut ircnet := self.irc.find_server(host) or {
println('rpc connect host not found')
return
}
go self.irc.dial(mut ircnet, self.out_chan, 'none', chat.System.matrix)
}
'status' {
println('main rpc do status')
go self.rpc.status(cmd, self.config, self.matrix)
}
else {}
}
self.command(chat.System.irc, 'rpc', 'rpc', "$cmd.verb ${cmd.params['line']}")