Pages:<< prev 1 next >>
Hello,
Just was reviewing the boards.c file and noticed that there are a %s that should be %d.
That is for when bset remove and bset post is issued I believe.
Just was reviewing the boards.c file and noticed that there are a %s that should be %d.
That is for when bset remove and bset post is issued I believe.
Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
if( !str_cmp( arg2, "post" ) )
{
board->min_post_level = URANGE( 0, value, ( PERM_MAX - 1 ) );
write_boards_txt( );
ch_printf( ch, "Post set to %s. (minimum posting level)\r\n", perms_flag[board->min_post_level] );
return;
}
if( !str_cmp( arg2, "remove" ) )
{
board->min_remove_level = URANGE( 0, value, ( PERM_MAX - 1 ) );
write_boards_txt( );
ch_printf( ch, "Remove set to %s. (minimum remove level)\r\n", perms_flag[board->min_remove_level] );
return;
}
It is probably you modified it to not use the perms_flag stuff which would then require it to be %d instead, thanks for the heads up though but these look fine. If you do find any issues though please mention them so i can look into them and make sure they are how they need to be
Pages:<< prev 1 next >>