Apply minor fixes from patches@, SF tracker, and others.
[ircu2.10.12-pk.git] / ircd / send.c
index 10218f0a6a815daf753d8f2c07e445575e893a26..7a79fbaa493818eea10d1ba4fd11f76749a527bd 100644 (file)
@@ -745,7 +745,7 @@ void vsendto_opmask_butone(struct Client *one, unsigned int mask,
    * this is ok...
    */
   vd.vd_format = pattern;
-  vd.vd_args = vl;
+  va_copy(vd.vd_args, vl);
   mb = msgq_make(0, ":%s " MSG_NOTICE " * :*** Notice -- %v", cli_name(&me),
                 &vd);