B:BD[
4.287] → [
4.287:307]
B:BD[
4.307] → [
6.1276:1296]
host := parts[2]
nick := parts[3]
mut ircnet := irc.Network{
hostname: host
nick: nick
if parts.len == 4 {
host := parts[2]
nick := parts[3]
mut ircnet := irc.Network{
hostname: host
nick: nick
}
self.db.insert('irc_servers', irc.network_to_db(ircnet))
self.irc.networks << ircnet
chat.say(self.out_chan, system, network, room_id, 'host $host nick $nick added')
} else {
chat.say(self.out_chan, system, network, room_id, 'usage: server add <host:port> <bridge nickname>')