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 (parent:
bb5d6a2
)
part 2: don't forward users if they are already in the target channel (same fix like...
author
pk910
<philipp@zoelle1.de>
Tue, 13 Dec 2011 15:51:30 +0000
(16:51 +0100)
committer
pk910
<philipp@zoelle1.de>
Tue, 13 Dec 2011 15:52:55 +0000
(16:52 +0100)
ircd/m_relay.c
patch
|
blob
|
history
diff --git
a/ircd/m_relay.c
b/ircd/m_relay.c
index 2bfb142da4b69c3c3180c94b75f57c3e5b51d98b..9996719bc6fd97b7c5ff66db764870928bfbdc09 100644
(file)
--- a/
ircd/m_relay.c
+++ b/
ircd/m_relay.c
@@
-90,6
+90,8
@@
static void mode_a_check_altchan(struct Client* sptr, char *channel) {
joinbuf_flush(&create);
}
} else {
joinbuf_flush(&create);
}
} else {
+ if(find_member_link(chptrb, sptr))
+ return; //we have already joined this channel
//first of all check if we may even join this channel
int err2 = 0;
int flags = 0;
//first of all check if we may even join this channel
int err2 = 0;
int flags = 0;