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S6OX2KQZVQC
SX4IAP27IQ7B5QFX74GKQYRX4IJSJTZ4CLH7EPFSJWATV7LVXR4AC
MGLPPSPTZYTHV2IW522JPA7MXU56AGFATN7O64GT3VHUIQ6H6W2QC
O774NWA2NLE34RNFCQAYXU2QVRVTPVW6O7KWXOUTCS35CX4EY4HQC
}
}
}
}
fn (mut self Main) chat_do(payload chat.Payload) {
match payload {
chat.MakeIrcUser {
mut ircnet := self.irc.find_server(payload.network_hostname) or {
println('process_out() not found $payload.network_hostname')
return
}
self.irc.dial(mut ircnet, payload.nick)
// needs if mut ghost :=
mut ghost := ircnet.ghosts.by_nick(payload.nick) or {
println('process_out dialed $payload.nick yet name is not in the ghosts list')
return
}
ghost.channels.channels << &irc.Channel{
name: payload.nick
joined: false
mut ircnet := self.irc.find_server(ircnet_name) or {
println('process_out() not found $ircnet_name')
return
}
self.irc.dial(mut ircnet, outmsg.name)
// needs if mut ghost :=
mut ghost := ircnet.ghosts.by_nick(outmsg.name) or {
println('process_out dialed $outmsg.name yet name is not in the ghosts list')
return
}
ghost.channels.channels << &irc.Channel{
name: outmsg.room
joined: false
}
self.chat.cin <- chat.Payload(chat.MakeIrcUser{network_hostname: ircnet_name, nick: outmsg.name})