weechat::register( "bugtest", "SAL9000 ", '0.1', "N/A", "Bug test/reproduction", "", "" ); my $config_file = weechat::config_new( 'bugtest', "","" ); my $section = weechat::config_new_section( $config_file,'section', 1, 1, "", "", "", "", "", "", "", "", "", "" ); my $opt = weechat::config_new_option( $config_file,$section,'test.option', 'string', 'desc', '', 0,0, 'default','default', 0, '','', '','', '','' );