/[LeafOK_CVS]/lbbs/src/user_priv.c
ViewVC logotype

Diff of /lbbs/src/user_priv.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 by sysadm, Mon Apr 28 12:45:57 2025 UTC Revision 1.8 by sysadm, Wed Apr 30 09:18:20 2025 UTC
# Line 15  Line 15 
15   *                                                                         *   *                                                                         *
16   ***************************************************************************/   ***************************************************************************/
17    
18    #include "user_priv.h"
19  #include "bbs.h"  #include "bbs.h"
20  #include "common.h"  #include "common.h"
21    #include "log.h"
22    #include <stdio.h>
23  #include <mysql.h>  #include <mysql.h>
24    
25    BBS_user_priv BBS_priv;
26    
27  int checklevel(BBS_user_priv *p_priv, int level)  int checklevel(BBS_user_priv *p_priv, int level)
28  {  {
29          return (((p_priv->level & level)) ^ level ? 0 : 1);          return (((p_priv->level & level)) ^ level ? 0 : 1);


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1