Move get_network() to Generic::Functions and make PBot::Channel use a string for a network