Age | Commit message (Collapse) | Author |
|
don't get stuck in a loop when handling EOF/^D/Ctrl+D, improve debug output, improve comments, initialise variables more safely, exit main loop on errors.
|
|
Since user QUIT messages don't contain channel names, clients that didn't know which channels a nick was in when receiving a quit message for that nick can't show a per-channel QUIT notification.
Some clients just display the QUIT message in the server status window, others silently ignore it.
Cater for those clients by sending a NOTICE about the QUIT rather than replaying it - assuming the nick isn't still in any of our channels.
|
|
calculate replay start point.
Introduce new function doreplaylastspoke() to achieve this, move doreplay() into replay.c as doreplaytime() and refactor common things into sanitisereplay().
|
|
return -1 and change callers to check this.
|
|
between releases.
|
|
elements when they are used for the first time.
|
|
stripprefix() to avoid huge debug logs when using replaymode = "lastspoke" combined with DEBUG_FULL.
|
|
Please see the NEWS file for a highlight of changes in this release.
|
|
case-insensitive, we can ensure a nick/channel with varying case always ends up in the same log file.
|
|
correctly log QUITs in the replay log and normal log(s).
|
|
This fixes a bug where messages would be logged to the wrong file if the bouncer's nick had changed whilst running.
|
|
Also add version information (client welcome message, -v, and --version).
|
|
|
|
given client has missed.
|
|
for certain settings (password/nick/nick2/nick3).
|
|
or by issuing the SIGHUP signal.
|
|
(auto replay the last X seconds), and "lastspoke" (auto replay everything since you last spoke).
|
|
contain strings.
|
|
server and client functions in message.h/message.c.
|
|
connect/exit functions only relevant in main.c.
|
|
|
|
file with configurable verbosity.
|
|
|
|
|
|
|
|
005/RPL_ISUPPORT messages and implementing the start of IRCv3 CAP negotiations (multi-prefix only at the moment).
|
|
everywhere including initial server welcome strings.
Make sure channels are cleared when PARTing them.
Ignore most commands from clients until they are registered with us.
Send the correct current nick when sending NOTICEs.
|
|
Also change nickuserhost to store the leading colon (:) since it's always needed (so far).
|
|
removing the non-functional debug() stuff.
|
|
ensure it's always given out to new clients correctly. Also misc other bug fixes.
|
|
- connect the bouncer to a server
- connect to the bouncer with a real client
- join channels
- have new clients connect and have the bouncer join those new clients to the channels
- relay PRIVMSGs between all clients
Some random current big bugs:
- Joining channels whilst multiple clients are already connected doesn't join all clients properly
- Parting channels doesn't work
- No idea what will happen if the nick is in use, etc.
Features missing:
- Almost everything :)
|
|
|