- Allow IRCItem.oper and IRCItem.mode to be empty
- irc.c: add a descriptive connection attempt message
- irc.c: fixed (re)connection logic so things make actually sense
- irc.c:irc_connect(): remove assert()
- Add tls_hostname_verification switch to allow the server identity check to be turned off if desired
- irc.c: typo
- irc.c: typo
- Fixed the 'reconnectinterval' timer which never worked right. Also fixed an issue where we would repeatedly attempt to read from 'IRC_FD' even if no connection to the irc server has been establised.
- irc.c:irc_read(): whitespace changes
- irc.c:irc_init(): we only do TLSv1.2 and higher
- irc.c:irc_parse(): fixed possible out-of-bounds write on 'parv' spotted by Adam <adam@anope.org>
- irc.c:irc_init(): remove SSLeay_add_ssl_algorithms() call not needed
- Incorporate basic TLS support for the irc bot part. Changes submitted by Adam <adam@anope.org>
- irc.c:irc_send(): check if the entire buffer got written to IRC_FD. Reconnect in case of failure.
- Stylistic changes
- Bump copyright years everywhere
- Update copyright years
- Allocate most list_t and node_t items from within their corresponding structure to save extra calloc/free calls
- Update copyright years
- irc.c:m_privmsg(): restore support for the ';', ':' nickname delimiters which got lost during the rewrite in -r8126
- Just pass a char pointer to the opercommand handlers instead of a struct ChannelConf pointer
- Sort out unused header includes
- Move CommandHash struct to irc.c:irc_parse()
- Use designated initializers; scan_gettype(): use pointer arithmetic
- irc.c, scan.c: stylistic changes
- irc.c:m_privmsg(): sanitize nickname parsing logic; don't run every privmsg through strcspn() when we can stop parsing parv[3] earlier
- irc.c:irc_init(): remove AI_PASSIVE flag from hints.ai_flags
- Update copyright years
- Changed negache to use patricia.c
- Update copyright years
- Markdown changes to README provided by jackal; minor documentation fix in irc.c
- irc.c:irc_init(): improve error reporting
- irc.c:irc_read(): exempt EINTR from logging
- irc.c:irc_read(): always log failed read() regardless of the debug level
- irc.c:irc_read(): improve error message for failed read()
- irc.c:irc_read(): made 'len' a ssize_t
- irc.c: remove assumption that socket() returns fd higher than 0 (which it probably won't because of log files opened before, but let's remove that limitation anyway); removed close() in irc_init() since IRC_FD is always -1 at this point
- Change userinfo_create() to not always allocate memory for each user message; improve checking for malformed sender prefixes - Remove now unused userinfo_free()
- irc.c: reformatting; move COMMAND_TABLE into irc_parse()
- irc.c:userinfo_create(): use pointer arithmetic instead of array subscripting
- Style corrections
- Made the RECONNECTINTERVAL configurable via the hopm.conf
- irc.c:m_notice(): use a more compact error message for regcomp() errors
- irc.c:m_privmsg(): style corrections
- irc.c:m_privmsg(): added missing 'return' when processing CTCP messages
- irc.c:m_ctcp(): show SERIALNUM, too
- Removed trailing whitespaces
- irc.c:irc_parse(): only allocate/deallocate 'source_p' for commands we're actually interted in
- irc.c: fixed connect() issue as reported by Martin Pola
- Removed some irrelevant comments
- Style corrections
- irc.c: cleaned up userinfo_create()
- irc.c: made COMMAND_TABLE use const
- irc.c: fixed compile error
- irc.c: constification
- irc.c:irc_read(): fixed typo in comment
- irc.c:irc_cycle(): increase poll timeout to 50ms
- memory.c:MyFree(): removed extraneous pointer test; renamed MyFree to xfree
- Added irc::notice configuration option (notice(s) to send to a newly connected client).
- firedns.c: removed max() macro. Renamed 'fdns_errno', and 'fdns_fdinuse', to meet our coding convention.
- irc.c:irc_cycle(): attempt to reconnect to the server in case of POLLERR, or POLLHUP
- irc.c, irc.h: const-correctness
- irc.c:m_perform(): cosmetical changes to connection logging so it doesn't look weird with ipv6 addresses
- irc.c: cleaned up irc_connect()
- irc.c: added basic IPv6 support allowing HOPM to bind and connect to IPv6 addresses
- irc.c:irc_init(): get rid of 'bindret'
- command_parse(): removed 'msg' parameter. We actually only need this for m_notice() as proof for reporting insecure proxies to a dnsbl provider.
- Update license headers
- irc.c:irc_parse(): fixed logic error
- Const-correctness
- Move malloc.c to memory.c
- Fixed coding convention issues
- Removed bopm_sockaddr and bopm_ircaddr structs
- irc.c:m_notice(): don't use 'static' if there's no need to
- Use 'const' and 'unsigned' whenever possible - Removed pointless 0 assignments
- Renamed MyMalloc() to xcalloc()
- Removed obsolete AC_HEADER_TIME
- irc.c:irc_send(): improved error reporting if send() fails
- irc.c:irc_init(): improve and simplify error reporting if socket()/bind() fails
- irc.c:irc_cycle(): replaced select() with poll()
- Removed configure header test for strings.h; removed strings.h header includes
- Removed AC_HEADER_STDC configure test
- Moved OPT_DEBUG prototype to main.h (where it belongs to) and removed extern.h
- Made NODATA_TIMEOUT a configuration option
- irc.c:irc_send(): fixed bug where over-length messages were not terminated with \n; optimized to not reprint the sendbuffer twice
- irc.c:irc_parse(): minor cleanups
- Continue to use inet_pton() until we add full ipv6 support, but at least replace all occurrences of inet_aton() with inet_pton()
- Use sizeof(struct in_addr) instead of res->ai_addrlen
- Replaced all occurrences of inet_pton() with getaddrinfo()
- propset svn:eol-style native
- propset svn:keywords "Id"
- irc.c: use static keyword where appropriate; removed unused IRC_SENDBUFF
- irc.c: made IRC_RAW_LEN an unsigned int
- irc.c:irc_read(): removed extraneous test for 'c' being either '\r' or '\n'. It's already dealt with cr/lf at this point.
- Style corrections
- irc.c:irc_init(): removed unused variables
- Style corrections
- irc.c: rewrite irc_send_channels()
- Renamed DupString() to xstrdup()
- Removed pointless casts
- Removed USE_VAR cruft
- Make irc::away optional
- Removed rcs tags
- Use EmptyString() instead of this strlen() mess
- Fixed a bunch of compile warnings
- irc.c:m_ctcp(): removed reference to Blitzed
- Replaced more references of bopm with hopm
- irc.c:irc_parse(): replaced strcpy() with strlcpy()
- Add strlcpy() and strlcat() for system that don't have these
- Initial import of bopm 3.1.3
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.