home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / vrac / 5mods_4.zip / MT13.MOD < prev    next >
Text File  |  1994-01-20  |  1KB  |  32 lines

  1. ┌────────────────────────────────────────────────────────────────────────────┐
  2. │ Mod Name: MT13.MOD         Mod Authors: MainTech 1@5211                    │
  3. │ Difficulty: huh?                  Date: Jan 17 1994                        │
  4. │ WWIV Version: 4.23                                                         │
  5. │ Files Affected: BBSOVL2.C                                                  │
  6. │ Description: This fixes the problem of the bbs counting down the users     │
  7. │ time while in chat.                                                        │
  8. └────────────────────────────────────────────────────────────────────────────┘
  9.  
  10.  I take no credit for this mod what so ever.  It was taken directly from
  11.  Goose's FIXCHAT.MOD, initially released in May 1990.  I just found the 
  12.  correct place to add it into 4.23 code, plugged it in, and tested it.
  13.  
  14.  Open bbsovl2.c with your favorite editor and find the following.
  15.  
  16. =  chatting=0;
  17. =  tc=timer()-tc;
  18. =  if (tc<0)
  19. =    tc += 86400.0;
  20. -   /* extratimecall += tc; */  /* comment out or delete this line */
  21. +  thisuser.extratime += tc;    /* chat time fix - add this line   */
  22. =  topdata=tempdata;
  23.  
  24.   Save it and recompile your bbs.
  25.  
  26.   Gee, the header was bigger than the fix! <g>
  27.  
  28.                                              «-[/\/\ainTech]-»
  29.  
  30.  
  31.  
  32.