It is mainly to reprint and post if it is a club member and whether it is sealed and gives a tip. In addition, it also protects the system record area, including not reprinting to the system recording area and posting in the system record area.
============================================================================================================================================================================================================= ================= rs file: d: /ythtcvs/bbs/src/bbs.c ,vretrieving revision 1.5 RETRIEVING Revision 1.6Diff -u -r1.5 -r1.6 --- bbs.c 2005/00/06 01:23:20 1.5 bbs.c 2005/00/09 07:15:33 1.6 @@ -645, 6 645, 12 @@ clrtoeol (); Prints ("Reprinted '% s' to% S", quote_title, bname); Move (6, 0); if (! strCMP (BNAME, "Syssecurity")) { Prints ("Sorry, you can't put articles Reprinted into the system security record area "); pressreturn (); clear (); return fullupdate; } if (InND_Board (BNAME)) {GetData (7, 0," (s) published (L) not to send (A) Cancellation? [A]: ", ISPOST, 9, DOECHO, YEA); @@ -669, 23 675, 47 @@ islocal = 1;} if (ISPOST [0] == 's' || ISPOST [0] == 's') {- IF (Deny_me (BNAME) &&! Userperm (Currentuser, Perm_SYSOP) {- Move (8, 0); - CLRTOBOT (); - PRINTS- ("/ N / n Sorry, you have been posted on the post.
"); - pressreturn (); - clear (); - return () Fullupdate; IF (deny_me (bname)) { IF (userperm (currentuser, perm_sysop) { move (8, 0); CLRTOBOT (); IF ("You have already stopped posting rights by the mate, is it forced?", Na, na) == na) { prints ("/ n / n Sorry, you have been stopped by the moderator The right of stickers. "); Pressreturn (); clear (); return fullupdate; } } else { IF (! Userperm (currentuser, perm_sysop) { move (8, 0); CLRTOBOT ( ); Prints ("/ N / N Sorry, you have been parked by the moderator."); Pressreturn (); clear (); returnifupdate; } }} - if (deny_me_global () &&! userperm (currentuser, perm_sysop) {- Move (8, 0); IF (deny_me_global ()) { Move (8, 0); CLRTOBOT (); - Prints- ("/ N / N Sorry, you have stopped the stations on the station.
"); - pressreturn (); - clear (); - return () Fullupdate; IF (userperm (currentuser, perm_sysop) { IF (" You have been stopped by the station to post the title, forced text? " , Na, Na) == Na) { Prints ("/ N / N Sorry, you have been stopped by the station."); Pressreturn (); clear (); return fullupdate ; } } Else { if (! Userperm (currentuser, perm_sysop) { prints ("/ n / n Sorry, you have been stopped by the station to stop the title.
"); Pressreturn (); clear (); return fullupdate; } }} if (Club_Board (BNAME, 0)) {IF (userperm (currentuser, perm_sysop) && (! ClubTest (BNAME))) { @@ -695, 7 725 ,7 @@ clear (); return fullupdate;} -} } else {if (! Clubtest (BNAME) &&! Userperm (currentuser, perm_sysop) {move (8, 0); @@ -707, 6 737 ,7 @@ clear (); return fullupdate;} }} strcpy; ddigestMode = Diges TMODE; @@ -1739, 6 1770, 14 @@ replytitle = sfh-> title; modify_user_mode (posting); bNum = getBnum (currboard); if (! strcmp (currboard, "syssecurity")) { Move 3, 0); CLRTOBOT (); Prints ("/ N / N Sorry, you cannot post in system record area"); pressreturn (); clear (); return fullupdate; } if (! !! (BNUM)) {Move (3, 0); clrtobot (); @@ -1771, 18 1810, 53 @@}
IF (Club_Board (BNUM)) {- if (! CLUBTEST (CURRBOARD) &&! userperm (currentuser, perm_sysop) {- Move (3, 0); - CLRTOBOT (); - Prints- ("/ n / n % S is a club layout, please document the authority to the version ", - currboard); - pressreturn (); - Clear (); - returnral (); if (! CLUBTEST (CURRBOARD)) { IF (USERPERM (Currentuser, Perm_sysop) { move (3, 0); clrtobot (); IF ("Are you not a member of this club, mandatory?", Na, Na) == NA) { Prints (" / N / N% s is the club layout, please apply to the version of the document.
", currboard); pressreturn (); clear (); return fullupdate; } } else { if (! userperm (currentuser, perm_sysop) { move (3, 0); CLRTOBOT (); Prints ("/ N / N% S is the club layout, please apply to the program application authority", currboard); pressreturn (); CLEAR (); return fullupdate; } }}} - if Deny_me (currentuser, perm_sysop) { IF (deny_me (currentuser, perm_sysop) { Move (3, 0); clrtobot (); IF ("You have been stopped by the mouse to post post rights, forced text?", Na, na) == na) { prints ("/ N / N Sorry, you have already stopped posting for the mutant.
"); Pressreturn (); clear (); return fullupdate; } } else { if (! Userperm (currentuser, perm_sysop) { move (3, 0); CLRTOBOT (); Prints ("/ n / n Sorry, you have been posted on the post.
"); Pressreturn (); clear (); returnial ( } } / * &&! Userperm (currentuser, perm_sysop) {move (3, 0); CLRTOBOT (); prints @@ -1790, 11 1864, 30 @@ pressreturn (); Clear (); return fullupdate; -} } * / if (deny_me_global () && strcmp (currboard, "sysop") - && strcmp (currboard, "arbitration" ) - &&! Userperm (currentuser, perm_sysop) { && strcmp (currboard, "arbitration")) { move (3,0); clrtobot (); IF (userperm (currentuser, perm_sysop) { if (askyn ("You have been stopped by the station to post the title, forhating?", Na, NA) == NA) { prints ("/ n / n very Sorry, you have stopped the right to post the whole station. "); Pressreturn (); clear (); return fullupdate; } } else { IF (! Userperm (currentuser, perm_sysop) { prints (" / n / n Sorry, you have been stationed Stop the title of the whole station.
"); Pressreturn (); clear (); returnial ( } } / * &&! Userperm (currentuser, perm_sysop) {move (3, 0); CLRTOBOT (); prints @@ -1802, 7 1895 ,7 @@ pressreturn (); clear (); returnif (& postfile, sizeof (struct fileheader); clear ();