projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f09747b
)
Do not send infolines when a normal user joins a +D channel.
author
Michael Poole
<mdpoole@troilus.org>
Tue, 9 Mar 2010 02:30:59 +0000
(21:30 -0500)
committer
Michael Poole
<mdpoole@troilus.org>
Tue, 9 Mar 2010 02:30:59 +0000
(21:30 -0500)
src/chanserv.c (handle_join): Suppress infolines for users whose JOIN is
not going to be broadcast.
src/chanserv.c
patch
|
blob
|
history
diff --git
a/src/chanserv.c
b/src/chanserv.c
index e0ec5200d9a980cce6b453ee1ec062b25f48a85e..a9f8ad11e2f0dcf2500ffca0e20f852ce2dd94a9 100644
(file)
--- a/
src/chanserv.c
+++ b/
src/chanserv.c
@@
-6606,7
+6606,7
@@
handle_join(struct modeNode *mNode)
}
if(greeting)
send_message_type(4, user, chanserv, "(%s) %s", channel->name, greeting);
- if(uData && info)
+ if(uData && info
&& (modes || !(channel->modes & MODE_DELAYJOINS))
)
send_target_message(5, channel->name, chanserv, "[%s] %s", user->nick, uData->info);
}
return 0;