PFE537UQPEHTZAMPKTXNTJF6Z56PA2LQNAQHEOVTD2ZQRTFUTJKAC
PJWQKTE3MRFDPJQA6LMPVROAMLEZ27UGJ3EOQ4JQXSOFSUJVCT4AC
W2UG5LCJVKYGQU2ZBRIVWYY3YA4EIWKJLAJDLVAJAN5C6TRQMESAC
SSXL34RI3VDNBMJNHXBNORVQ7QQ2CTPXIXUNTUUMFA224DOAAKMQC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
6L2PHVBOCBBAYDUP4WX2DUEOPDHE5SP5M3MUORP5DNO63CJZULXAC
4G62MDWRTFCQ22OK7EDFIU6WE2SWQZVBNDCRUROUBL5XEOZRDF6AC
F35KMTI4GH5AWL52CJFR767KIAD6TYXIT6PEHM65JJ66LRPESFTQC
for ircnet in self.irc.networks {
self.say_chan <- matrix.Say{
room: room_id
message: '$ircnet.name $ircnet.state'
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 {
self.say_chan <- matrix.Say{
room: room_id
message: '$ircnet.name $ircnet.state'
}
}