diff options
author | June McEnroe <june@causal.agency> | 2019-11-15 00:53:46 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-11-15 00:54:06 -0500 |
commit | 11f941bc4c57af40566616bae1e0aca079493356 (patch) | |
tree | 4df1e80ec0f7ddc481504edab573570e75a4d3d8 /state.c | |
parent | Add concept of passive clients (diff) | |
download | pounce-11f941bc4c57af40566616bae1e0aca079493356.tar.gz pounce-11f941bc4c57af40566616bae1e0aca079493356.zip |
Request NAMES on sync by default
This inverts the meaning of -N!
Diffstat (limited to '')
-rw-r--r-- | state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/state.c b/state.c index 4103fff..4d3aa1c 100644 --- a/state.c +++ b/state.c @@ -393,6 +393,7 @@ void stateSync(struct Client *client) { ORIGIN, self.nick, chan->name, chan->topic ); } - if (stateJoinNames) serverFormat("NAMES %s\r\n", chan->name); + if (stateNoNames) continue; + serverFormat("NAMES %s\r\n", chan->name); } } |