projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed some collisions with older commits
[ircu2.10.12-pk.git]
/
ircd
/
m_quit.c
diff --git
a/ircd/m_quit.c
b/ircd/m_quit.c
index 16376e42a4406b33988dc96d649ae2577bf54a72..9c06b31ccc78d29684a9622f9c2f20ebbff76eba 100644
(file)
--- a/
ircd/m_quit.c
+++ b/
ircd/m_quit.c
@@
-105,6
+105,11
@@
int m_quit(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
assert(0 != sptr);
assert(cptr == sptr);
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) {
if (cli_user(sptr)) {
struct Membership* chan;
for (chan = cli_user(sptr)->channel; chan; chan = chan->next_channel) {