Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_destruct.c
index fabc93ebe13017a0b6179abb5fe50158be723fed..c26aeaf338c7f192adc565ec1002f6a731356aea 100644 (file)
@@ -133,8 +133,7 @@ int ms_destruct(struct Client* cptr, struct Client* sptr, int parc, char* parv[]
   chanTS = atoi(parv[2]);
 
   /* Pass on DESTRUCT message */
-  sendto_highprot_butone(cptr, 10, "%s " TOK_DESTRUCT " %s " TIME_T_FMT,
-                         NumServ(sptr), parv[1], chanTS);
+  sendcmdto_serv_butone(sptr, CMD_DESTRUCT, cptr, "%s %Tu", parv[1], chanTS);
 
   return 0;
 }
@@ -176,7 +175,7 @@ int m_destruct(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
   chanTS = atoi(parv[2]);
 
   /* Pass on DESTRUCT message */
-  sendto_highprot_butone(cptr, 10, "%s DESTRUCT %s " TIME_T_FMT,
+  sendto_highprot_butone(cptr, 10, "%s DESTRUCT %s " TIME_T_FMT, /* XXX DEAD */
       NumServ(sptr), parv[1], chanTS);
 
   return 0;