Author: Carlo Wood (run@alinoe.com> (Via Isomer>
[ircu2.10.12-pk.git] / ircd / m_destruct.c
index a81c6d8c677ecea0a6ddfceec5d8b54dac8895bc..4104af14bc7a6222b5cf3dbbf476f0a43389a705 100644 (file)
@@ -117,7 +117,7 @@ int ms_destruct(struct Client* cptr, struct Client* sptr, int parc, char* parv[]
   }
 
   /* Pass on DESTRUCT message and ALSO bounce it back! */
-  sendcmdto_serv_butone(sptr, CMD_DESTRUCT, 0, "%s %Tu", parv[1], chanTS);
+  sendcmdto_serv_butone(&me, CMD_DESTRUCT, 0, "%s %Tu", parv[1], chanTS);
 
   /* Remove the empty channel. */
   remove_destruct_event(chptr);