Login
User Name:

Password:



Register

Forgot your password?
 I3 and IMC
Dec 26, 2024 3:27 am
By GatewaySysop
Hi - Clean SmaugFuss map/description issue..
Dec 15, 2024 7:29 pm
By Samson
AFKMud 2.2.4
Dec 10, 2024 4:09 pm
By Samson
Ubuntu 22.04.5 LTS
Dec 5, 2024 5:10 pm
By Remcon
SmaugFUSS 1.8/1.9
Nov 29, 2024 11:46 am
By Remcon
SWFOTEFUSS 1.5.1
Author: Various
Submitted by: Samson
SWRFUSS 1.4.1
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.5
Author: Various
Submitted by: Samson
AFKMud 2.2.4
Author: AFKMud Team
Submitted by: Samson
LOP 1.5
Author: Remcon
Submitted by: Remcon
Users Online
Yandex, DotBot, Remcon, Bing

Members: 1
Guests: 25
Stats
Files
Topics
Posts
Members
Newest Member
494
3,808
19,708
592
CliffHunti

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » Codebases » LoP Codebase » minor bug boards.c do_bset
Forum Rules | Mark all | Recent Posts

minor bug boards.c do_bset
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jul 25, 2014 12:12 am   
Go to the top of the page
Go to the bottom of the page

Guest - (Unregistered)

 
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.

Post is unread #2 Jul 25, 2014 3:35 pm   
Go to the top of the page
Go to the bottom of the page

Remcon

GroupAdministrators
Posts1,946
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 >>