M5GXUK5HZE7HPLWQ33T73CXRJITOUJAO6T6F6QWTYYL7NLWFYA3AC
PFE537UQPEHTZAMPKTXNTJF6Z56PA2LQNAQHEOVTD2ZQRTFUTJKAC
GJG4W23FRRNBABPBTE57FMXQDVEN67TA5QVES6JBUS6RVEJSYTZAC
QMQN3W5XQZY6HKBVGTCXXAIYKM372ZMVETG5A66EVVJCU7K7NZRAC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
PJWQKTE3MRFDPJQA6LMPVROAMLEZ27UGJ3EOQ4JQXSOFSUJVCT4AC
F35KMTI4GH5AWL52CJFR767KIAD6TYXIT6PEHM65JJ66LRPESFTQC
4GYKYPKIACICEWYUOJNHU6D5FAUECBLNPUACURVDJPPIXO3RNICAC
match parts[1] {
'add' {
host := parts[2]
self.db.add_irc_server(host)
self.irc.add_server(host)
self.say_chan <- matrix.Say{
room: room_id
message: '$host added'
}
}
else {
for ircnet in self.irc.networks {
mut default_action := false
if parts.len > 1 {
match parts[1] {
'add' {
host := parts[2]
self.db.add_irc_server(host)
self.irc.add_server(host)