Difference for server/c_chat.c from version 1.9 to 1.10


version 1.9 version 1.10
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_chat_c =   * static char *rcsid_c_chat_c =
  *   "$Id: c_chat.c,v 1.9 2002/10/17 07:15:39 mwedel Exp $";   *   "$Id: c_chat.c,v 1.10 2002/11/26 08:48:20 garbled Exp $";
  */   */
   
 /*  /*
Line 44
 
Line 44
   
 int command_shout (object *op, char *params)  int command_shout (object *op, char *params)
 {  {
 #ifdef PLUGINS  
     int evtid;      int evtid;
     CFParm CFP;      CFParm CFP;
 #endif  
     if (params == NULL) {      if (params == NULL) {
  new_draw_info(NDI_UNIQUE, 0,op,"Shout what?");   new_draw_info(NDI_UNIQUE, 0,op,"Shout what?");
  return 1;   return 1;
     }      }
     new_draw_info_format(NDI_UNIQUE | NDI_ALL | NDI_RED, 1, NULL,       new_draw_info_format(NDI_UNIQUE | NDI_ALL | NDI_RED, 1, NULL,
  "%s shouts: %s", op->name, params);   "%s shouts: %s", op->name, params);
 #ifdef PLUGINS  
     /* GROS : Here we handle the SHOUT global event */      /* GROS : Here we handle the SHOUT global event */
     evtid = EVENT_SHOUT;      evtid = EVENT_SHOUT;
     CFP.Value[0] = (void *)(&evtid);      CFP.Value[0] = (void *)(&evtid);
     CFP.Value[1] = (void *)(op);      CFP.Value[1] = (void *)(op);
     CFP.Value[2] = (void *)(params);      CFP.Value[2] = (void *)(params);
     GlobalEvent(&CFP);      GlobalEvent(&CFP);
 #endif  
     return 1;      return 1;
 }  }
   


Legend:
line(s) removed in v.1.9 
line(s) changed
 line(s) added in v.1.10

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