summaryrefslogtreecommitdiff
path: root/functions.c
AgeCommit message (Expand)Author
2024-03-30Implement changing client-side TLS certificate and key paths, and reloading c...Luke Bratch
2024-03-29Sanity check that the requested fd is greater than zero in arrindex().Luke Bratch
2023-04-08Improve stdin handling (only available when running in foreground mode) - don...Luke Bratch
2023-03-23Don't try to sockread() or socksend() if the file descriptor is NULL, assume ...Luke Bratch
2022-11-25Fix broken debugprint() call in isnickinanychannel() which was referencing a ...Luke Bratch
2022-11-25Implement fake QUIT handling via a NOTICE when doing a replay.Luke Bratch
2022-11-24Fix replaymode = "lastspoke" by using line numbers rather than time to calcul...Luke Bratch
2022-11-23Correct comments in functions.c.Luke Bratch
2022-09-02Deal with servers only sending a nick rather than nick!user@host as the last ...Luke Bratch
2022-09-02Improve comment/debug clarity.Luke Bratch
2021-01-25Use a space followed by a colon to determine the final parameter in extractfi...Luke Bratch
2021-01-19Fix various issues where strncmp was only comparing a substring.Luke Bratch
2021-01-18Make the "channels" configuration file entry an array.Luke Bratch
2020-10-21Don't have arrindex() return 0 on failure as 0 is a valid index. Instead ret...Luke Bratch
2020-01-05Fix some situations where the remote IP of a connecting/disconnecting client ...Luke Bratch
2020-01-05Correct a comment.Luke Bratch
2019-12-22Significantly reduce memory usage by only initialising channel struct element...Luke Bratch
2019-12-22Make full debug output optional for extractnickfromprefix() and stripprefix()...Luke Bratch
2019-10-02Try to make removenickfromallchannels() much faster when another user QUITs b...Luke Bratch
2019-09-16Make all log filenames lowercase - since IRC nicks and channel names are case...Luke Bratch
2019-09-15Make sure nicks passed to the "update all channels" functions have non-zero l...Luke Bratch
2019-09-15Don't try to socksend() in sendtoclient() if the client wasn't found in the c...Luke Bratch
2019-09-15Start tracking nicks in channels (upon JOIN/PART/QUIT/NICK) and use that to c...Luke Bratch
2019-09-14Specify multiple nicks using a configuration array instead of multiple indivi...Luke Bratch
2019-09-14Handle ignoring replay messages from before we launched better to avoid misle...Luke Bratch
2019-09-07Avoid more replay log NICK synchronisation issues by ignoring replay log nick...Luke Bratch
2019-09-07Add a configuration option to include the date in the timestamp when replayin...Luke Bratch
2019-09-06Send remote IP addresses instead of fd numbers in NOTICEs to clients and prin...Luke Bratch
2019-07-18Fix compiler warnings emitted by Clang/LLVM and some older GCC versions.Luke Bratch
2019-07-10Fix some potential buffer overflows when sending to client/server.Luke Bratch
2019-07-10Ensure log filenames are safe for writing.Luke Bratch
2019-07-10Make setting configuration option "replayseconds" optional if "replaymode" !=...Luke Bratch
2019-07-09Make sure debug lines printed to file end with a trailing newline.Luke Bratch
2019-07-09Avoid SSL_accept() blocking if the client fails to do TLS negotiation.Luke Bratch
2019-06-17Implement a per-client identifier so auto replay can replay everything a give...Luke Bratch
2019-06-16Correctly return success when handling new replay modes.Luke Bratch
2019-06-16Implement two new auto replay modes:Luke Bratch
2019-06-16Handle very long lines and very short lines. Print to terminal if we fail to...Luke Bratch
2019-06-16Load all settings from configuration file at startup instead of reading it fo...Luke Bratch
2019-06-12Allow reloading the configuration file at runtime using a BLABOUNCER command ...Luke Bratch
2019-06-12Don't print a message to the terminal when a channel already exists (it is a ...Luke Bratch
2019-06-11Implement configurable auto replay modes. So far there is "none", "time" (au...Luke Bratch
2019-06-11Refactoring - rename ircdstrings struct to ircdstate since it doesn't just co...Luke Bratch
2019-06-11Prepend timestamps when writing to the debug log file.Luke Bratch
2019-06-10Refactoring - split giant processircmessage() switch statement into separate ...Luke Bratch
2019-06-10Refactoring - move most functions into functions.h/functions.c except connect...Luke Bratch
2019-06-10Add copyright and GPL 3 notices.Luke Bratch
2019-06-01Put debug logs in subdirectory and have max number to keep be configurable. ...Luke Bratch
2019-05-30Remove most (all?) exit()s with error handling without exiting where possible...Luke Bratch
2019-05-30Convert debugprint() from being to file/screen/disabled to always being to fi...Luke Bratch