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VO7EYU7YENUKAC
B5EQK6YSRS2YL3C4MXWCOUDYDEOB46LXAZNRCSXC7STIME7W6JQAC
EUKIP4C6R7XBECDWRB5RYOPPDWTIEGKQA4I5USEKKVNVHZ2ICBYQC
QCFWDE4RV7PEU7QB7H65AYETPNOBGJJL5AHYIH4FRQUC33REWG7QC
KDKWBUFH3YYJUOGLBAAE5QYV6H4UR3HXIN5LCRVGAHNKDFJPWQGAC
pub fn (self Network) join(channel string, nick string) {
cmd := 'JOIN $channel\n'
mut ghost := self.ghosts.by_nick(nick) or {
println('irc.join() ghost nick "$nick" not found in ${self.hostname}. (msg was: $cmd)')
return
}
println('$self.hostname $ghost.nick $cmd')
ghost.sock.write_string(cmd) or {}
}
}
pub fn (mut self Network) join(channel string, nick string) {
cmd := 'JOIN $channel\n'
mut ghost := self.ghosts.by_nick(nick) or {
println('irc.join() ghost nick "$nick" not found in ${self.hostname}. (msg was: $cmd)')
return
}
println('$self.hostname $ghost.nick $cmd')
ghost.sock.write_string(cmd) or {}
mut ircnet := self.irc.find_server(row[1]) or { return }
if ircnet.state == irc.ConnState.connected {
channel := row[0]
if ghost := ircnet.ghosts.by_nick(ircnet.nick) {
channel := row[0]
netname := row[1]
println('sync_irc_channel() checking $ircnet.hostname == db $netname')
if ircnet.hostname == netname {
if ircnet.state == irc.ConnState.connected {