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

  1. ┌────────────────────────────────────────────────────────────────────────────┐
  2. │ Mod Name: SPRHWK01.MOD                  Author: Sir Sparhawk  1@13494      │
  3. │                                                                            │
  4. │ Difficulty: DUH....                     Date:  05Dec93                     │
  5. │                                                                            │
  6. │ Version: WWIV Version 4.23                                                 │
  7. │                                                                            │
  8. │ Description: Fix for N-Scanning all conferences.                           │
  9. │              The code in this mod is found elsewhere in the source         │
  10. │              all I did was found it and moved it to where it needs         │
  11. │              to be.                                                        │
  12. └────────────────────────────────────────────────────────────────────────────┘
  13.  
  14.  
  15.   Step 1:  You know the drill.  Back up those Source Files.  The Source Police
  16.            will get ya if ya don't!
  17.  
  18.   Step 2:  Load up MSGBASE1.C and search for void nscan
  19.  
  20.   Step 3:  Add the following where indicated.
  21.  
  22.   /* == */ = Existing Line
  23.   /* ++ */ = Added Line
  24.   /* =+ */ = Modified Line
  25.  
  26. /* == */ void nscan(int ss)
  27. /* == */ {
  28. /* =+ */   int i,nextsub,abort,next,ac=0; /* Add ac=0 */
  29. /* == */   unsigned char ch;
  30. /* == */
  31. /* ++ */  if ((uconfsub[1].confnum!=-1) && (okconf(&thisuser))) {
  32. /* ++ */     if (!x_only) {
  33. /* ++ */       nl();
  34. /* ++ */       prt(5,get_string(1379));
  35. /* ++ */       ac=yn();
  36. /* ++ */       nl();
  37. /* ++ */     } else
  38. /* ++ */       ac=1;
  39. /* ++ */     if (ac)
  40. /* ++ */       tmp_disable_conf(1);
  41. /* ++ */   }
  42.  
  43.   Step 4:  At the very end of void nscan add this line.
  44.  
  45. /* == */   }
  46. /* ++ */   tmp_disable_conf(0);
  47. /* == */ }
  48.  
  49.   Step 5: Save MSGBASE1.C and recompile.
  50.  
  51.