| 125 |
return EXITBBS; |
return EXITBBS; |
| 126 |
} |
} |
| 127 |
|
|
| 128 |
|
int eula(void *param) |
| 129 |
|
{ |
| 130 |
|
display_file(DATA_EULA, 0); |
| 131 |
|
|
| 132 |
|
return REDRAW; |
| 133 |
|
} |
| 134 |
|
|
| 135 |
int license(void *param) |
int license(void *param) |
| 136 |
{ |
{ |
| 137 |
display_file(DATA_LICENSE, 0); |
display_file(DATA_LICENSE, 0); |
| 306 |
BBS_last_access_tm = time(NULL); |
BBS_last_access_tm = time(NULL); |
| 307 |
} |
} |
| 308 |
|
|
| 309 |
|
if (user_online_update("TOP10_MENU") < 0) |
| 310 |
|
{ |
| 311 |
|
log_error("user_online_update(TOP10_MENU) error\n"); |
| 312 |
|
} |
| 313 |
|
|
| 314 |
switch (ch) |
switch (ch) |
| 315 |
{ |
{ |
| 316 |
case KEY_NULL: // broken pipe |
case KEY_NULL: // broken pipe |
| 317 |
log_error("KEY_NULL\n"); |
log_debug("KEY_NULL\n"); |
| 318 |
loop = 0; |
loop = 0; |
| 319 |
break; |
break; |
| 320 |
case KEY_TIMEOUT: |
case KEY_TIMEOUT: |