]> jfr.im git - irc/DALnet/bahamut.git/commit
Optimize sendto_channel_butone() and sendto_channel_butlocal() functions
authorKobi Shmueli <redacted>
Wed, 7 Nov 2018 17:43:03 +0000 (19:43 +0200)
committerKobi Shmueli <redacted>
Wed, 7 Nov 2018 17:43:03 +0000 (19:43 +0200)
commit750ebb594aaed661d97e0f386e13c135ff8ccce8
tree088003a13508cda0add1d257965adf2201f6d30f
parentcfd278d26d9ff50e15ac3c282ce5846eb8473277
Optimize sendto_channel_butone() and sendto_channel_butlocal() functions

There is no point to set sentalong for clients if we're not going to check it later (and we shouldn't anyway).

Also, only set i = acptr->from->fd when we need to.

-Kobi.
src/send.c