Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only send missingmotd to connected client if not connected #1403

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kylef
Copy link
Member

@kylef kylef commented Apr 29, 2017

Carrying on from the discussion from #1399 (comment) this pull request changes the missing motd so that it will only send no MOTD to the connecting client and not all other clients during a connection.

We will also not send the MOTD to the client if we're registered with an IRC server, because the underlying IRC server should have set an MOTD. Perhaps this isn't the expected behaviour if this module intends to work around broken IRC servers/clients. This is to prevent sending duplicate MOTD to the client (from missing motd module and form IRC server).

@codecov
Copy link

codecov bot commented Apr 29, 2017

Codecov Report

Merging #1403 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1403      +/-   ##
==========================================
- Coverage   40.94%   40.92%   -0.03%     
==========================================
  Files         109      109              
  Lines       21785    21786       +1     
==========================================
- Hits         8919     8915       -4     
- Misses      12866    12871       +5
Impacted Files Coverage Δ
modules/missingmotd.cpp 44.44% <0%> (-5.56%) ⬇️
src/HTTPSock.cpp 51.87% <0%> (-1.01%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbc8d4f...ef7e079. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants