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
Count a join to a new channel as a target change.
[ircu2.10.12-pk.git]
/
ircd
/
m_join.c
diff --git
a/ircd/m_join.c
b/ircd/m_join.c
index b5a675cb20cb7d3093caf3b9c36ed8a65fb7372f..3a22b494907909f973ac9ee9bff7d9a9e29b6ba5 100644
(file)
--- a/
ircd/m_join.c
+++ b/
ircd/m_join.c
@@
-167,7
+167,7
@@
int m_join(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
continue;
/* Try to add the new channel as a recent target for the user. */
- if (check_target_limit(sptr, chptr, chptr->chname,
1
)) {
+ if (check_target_limit(sptr, chptr, chptr->chname,
0
)) {
chptr->members = 0;
destruct_channel(chptr);
continue;