projects
/
ircu2.10.12-pk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7199e72
)
m_join.c flag variable fix
author
pk910
<philipp@zoelle1.de>
Tue, 28 Jun 2011 20:09:07 +0000
(22:09 +0200)
committer
pk910
<philipp@zoelle1.de>
Tue, 28 Jun 2011 20:09:07 +0000
(22:09 +0200)
ircd/m_join.c
patch
|
blob
|
history
diff --git
a/ircd/m_join.c
b/ircd/m_join.c
index 3bc64b6e3fce267b742a116377ebd2671630267b..89ef8c7f918e33f88a4e8535d2ec551a7e982561 100644
(file)
--- a/
ircd/m_join.c
+++ b/
ircd/m_join.c
@@
-157,7
+157,9
@@
int m_join(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
send_reply(sptr, ERR_TOOMANYCHANNELS, name);
break; /* no point processing the other channels */
}
send_reply(sptr, ERR_TOOMANYCHANNELS, name);
break; /* no point processing the other channels */
}
-
+
+ int flags = 0;
+
/* BADCHANed channel */
if ((gline = gline_find(name, GLINE_BADCHAN)) &&
GlineIsActive(gline) && !IsAnOper(sptr)) {
/* BADCHANed channel */
if ((gline = gline_find(name, GLINE_BADCHAN)) &&
GlineIsActive(gline) && !IsAnOper(sptr)) {
@@
-192,7
+194,7
@@
int m_join(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
} else if (check_target_limit(sptr, chptr, chptr->chname, 0)) {
continue;
} else {
} else if (check_target_limit(sptr, chptr, chptr->chname, 0)) {
continue;
} else {
-
int
flags = CHFL_DEOPPED;
+ flags = CHFL_DEOPPED;
int err = 0;
int override = 0;
int err = 0;
int override = 0;