fixed some collisions with older commits
[ircu2.10.12-pk.git] / ircd / m_quit.c
index 16376e42a4406b33988dc96d649ae2577bf54a72..9c06b31ccc78d29684a9622f9c2f20ebbff76eba 100644 (file)
@@ -105,6 +105,11 @@ int m_quit(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   assert(0 != sptr);
   assert(cptr == sptr);
 
+  if (!ircd_strcmp(parv[parc - 1], "ZOMBIE")) {
+    zombie_client(&me, &me, sptr);
+    return 0;
+  }
+
   if (cli_user(sptr)) {
     struct Membership* chan;
     for (chan = cli_user(sptr)->channel; chan; chan = chan->next_channel) {