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

Diff of /lbbs/src/bbs_main.c

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

Revision 1.49 by sysadm, Thu May 15 15:00:18 2025 UTC Revision 1.50 by sysadm, Mon May 19 01:44:49 2025 UTC
# Line 192  int bbs_center() Line 192  int bbs_center()
192          show_active_board();          show_active_board();
193          show_bottom("");          show_bottom("");
194          display_menu(p_bbs_menu);          display_menu(p_bbs_menu);
195            iflush();
196    
197          while (!SYS_server_exit)          while (!SYS_server_exit)
198          {          {
199                  ch = igetch(100);                  ch = igetch(100);
200    
201                  if (time(0) - t_last_action >= 10)                  if (p_bbs_menu->choose_step == 0 && time(0) - t_last_action >= 10)
202                  {                  {
203                          t_last_action = time(0);                          t_last_action = time(0);
204                          show_active_board();                          show_active_board();
205                          show_bottom("");                          show_bottom("");
206                            iflush();
207                  }                  }
208    
209                  switch (ch)                  switch (ch)
# Line 233  int bbs_center() Line 235  int bbs_center()
235                          default:                          default:
236                                  break;                                  break;
237                          }                          }
238                            iflush();
239                  }                  }
240    
241                  BBS_last_access_tm = time(0);                  BBS_last_access_tm = time(0);
242          }          }
243    


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

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