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
Attempt to fix SF bug #2568366 (sending JOIN before hitting a target limit).
[ircu2.10.12-pk.git]
/
ircd
/
m_destruct.c
diff --git
a/ircd/m_destruct.c
b/ircd/m_destruct.c
index 89bc1fc2a5b3d9c8d2d2aefb3fcc3e10685f495a..f5b7dd60cfc118cbda14667fcfbf4ea1909403e2 100644
(file)
--- a/
ircd/m_destruct.c
+++ b/
ircd/m_destruct.c
@@
-190,7
+190,8
@@
int ms_destruct(struct Client* cptr, struct Client* sptr, int parc, char* parv[]
sendcmdto_serv_butone(&me, CMD_DESTRUCT, 0, "%s %Tu", parv[1], chanTS);
/* Remove the empty channel. */
- remove_destruct_event(chptr);
+ if (chptr->destruct_event)
+ remove_destruct_event(chptr);
destruct_channel(chptr);
return 0;