Difference for server/rune.c from version 1.23 to 1.24


version 1.23 version 1.24
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_rune_c =   * static char *rcsid_rune_c =
  *   "$Id: rune.c,v 1.23 2001/10/30 02:30:20 michtoen Exp $";   *   "$Id: rune.c,v 1.24 2002/06/27 06:28:00 mwedel Exp $";
  */   */
   
 /*  /*
Line 133
 
Line 133
  tmp=get_archetype("rune_mark"); /* this is a rune of marking */   tmp=get_archetype("rune_mark"); /* this is a rune of marking */
  at=NULL;   at=NULL;
  if (runename) {   if (runename) {
        if (strstr(runename,"endmsg")) {
    new_draw_info_format(NDI_UNIQUE, 0, op,
         "Trying to cheat are we?", runename);
    LOG(llevInfo,"write_rune: player %s tried to write bogus rune\n", op->name);
    return 0;
        }
      strncpy(rune, runename, HUGE_BUF-2);       strncpy(rune, runename, HUGE_BUF-2);
      rune[HUGE_BUF-2] = 0;       rune[HUGE_BUF-2] = 0;
      strcat(rune, "\n");       strcat(rune, "\n");


Legend:
line(s) removed in v.1.23 
line(s) changed
 line(s) added in v.1.24

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:44