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
Author: beware (by Spike)
[ircu2.10.12-pk.git]
/
ircd
/
channel.c
diff --git
a/ircd/channel.c
b/ircd/channel.c
index fbbf5358b614c3ddd826c936d02b840866e166da..b477c6c08ed6bc4c14a07725453edc2541cd2944 100644
(file)
--- a/
ircd/channel.c
+++ b/
ircd/channel.c
@@
-1856,6
+1856,8
@@
modebuf_init(struct ModeBuf *mbuf, struct Client *source,
assert(0 != chan);
assert(0 != dest);
+ if (IsLocalChannel(chan->chname)) dest &= ~MODEBUF_DEST_SERVER;
+
mbuf->mb_add = 0;
mbuf->mb_rem = 0;
mbuf->mb_source = source;