| 6 |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
|
#ifdef HAVE_CONFIG_H |
| 10 |
|
#include "config.h" |
| 11 |
|
#endif |
| 12 |
|
|
| 13 |
#include "article_favor_display.h" |
#include "article_favor_display.h" |
| 14 |
#include "article_view_log.h" |
#include "article_view_log.h" |
| 15 |
#include "io.h" |
#include "io.h" |
| 161 |
if (ch != KEY_NULL && ch != KEY_TIMEOUT) |
if (ch != KEY_NULL && ch != KEY_TIMEOUT) |
| 162 |
{ |
{ |
| 163 |
BBS_last_access_tm = time(NULL); |
BBS_last_access_tm = time(NULL); |
| 164 |
|
|
| 165 |
|
// Refresh current action |
| 166 |
|
if (user_online_update(NULL) < 0) |
| 167 |
|
{ |
| 168 |
|
log_error("user_online_update(NULL) error\n"); |
| 169 |
|
} |
| 170 |
} |
} |
| 171 |
|
|
| 172 |
switch (ch) |
switch (ch) |