Difference for server/c_chat.c from version 1.19 to 1.20


version 1.19 version 1.20
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_chat_c =   * static char *rcsid_c_chat_c =
  *   "$Id: c_chat.c,v 1.19 2004/12/25 18:09:29 ryo_saeba Exp $";   *   "$Id: c_chat.c,v 1.20 2005/10/18 16:54:31 gros Exp $";
  */   */
   
 /*  /*
Line 99
 
Line 99
   
 static int command_tell_all(object *op, char *params, int pri, int color, char *desc)  static int command_tell_all(object *op, char *params, int pri, int color, char *desc)
 {  {
     int evtid;  
     CFParm CFP;  
   
     if (op->contr->no_shout == 1){      if (op->contr->no_shout == 1){
  new_draw_info(NDI_UNIQUE, 0,op,"You are no longer allowed to shout or chat.");   new_draw_info(NDI_UNIQUE, 0,op,"You are no longer allowed to shout or chat.");
  return 1;   return 1;
Line 113
 
Line 110
  new_draw_info_format(NDI_UNIQUE | NDI_ALL | color, pri, NULL,    new_draw_info_format(NDI_UNIQUE | NDI_ALL | color, pri, NULL,
  "%s %s: %s", op->name, desc, params);   "%s %s: %s", op->name, desc, params);
    
  /* GROS : Here we handle the SHOUT global event */          /* Lauwenmark : Here we handle the SHOUT global event */
  evtid = EVENT_SHOUT;          execute_global_event(EVENT_SHOUT,op,params,pri);
  CFP.Value[0] = (void *)(&evtid);  
  CFP.Value[1] = (void *)(op);  
  CFP.Value[2] = (void *)(params);  
  /* Pass in priority - not sure if the plugin can use it or not */  
  CFP.Value[3] = (void *)(&pri);  
  GlobalEvent(&CFP);  
  return 1;   return 1;
     }      }
 }  }


Legend:
line(s) removed in v.1.19 
line(s) changed
 line(s) added in v.1.20

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