Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-09 | Fix m_alias not initialising 'active' before use. | Peter Powell | |
2018-12-19 | Make more modules rehash atomically (#1535) | linuxdaemon | |
Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs | |||
2018-08-15 | Fix aliases that resolve to messages echoing with echo-message. | Peter Powell | |
Fixes #1459. | |||
2018-08-15 | Fix m_alias not reconstituting the RFC message properly. | Peter Powell | |
2018-08-13 | Implement IRCv3 message tag support. | Peter Powell | |
Co-authored-by: Attila Molnar <attilamolnar@hush.com> | |||
2018-08-10 | Split irc::tokenparser::GetToken into GetMiddle and GetTrailing. | Peter Powell | |
This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously. | |||
2018-08-10 | Remove the original line parameter of On{Pre,Post}Command. | Peter Powell | |
In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do. | |||
2018-07-26 | Use CommandBase::Params instead of std::vector<std::string>. | Peter Powell | |
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. | |||
2018-01-06 | Rework message handling. | Peter Powell | |
- Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message. | |||
2017-11-17 | Fix a ton of -Wsign-conversion warnings. | Peter Powell | |
2017-10-28 | Hide User#host and User#dhost and use accessors to modify them. | Peter Powell | |
This removes the need to invalidate the cache after changing a user's hostname. | |||
2017-09-03 | Add support for length arguments in getString. | Peter Powell | |
2017-08-13 | Remove <alias:matchcase> and associated code. | Peter Powell | |
This was never documented and seems pretty useless. | |||
2017-07-12 | Add CXX11_OVERRIDE to overridden members that lack it. | Peter Powell | |
This fixes a ton of warnings when building on compilers that default to C++11 or newer. | |||
2016-11-16 | Rework the example services aliases. | Peter Powell | |
- Split common stuff into a generic configuration file. - Reserve all nicknames used by services by default. - Exempt all services clients from filtering. - Add missing aliases for services pseudoclients. | |||
2016-02-25 | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵ | Attila Molnar | |
parameters | |||
2015-12-28 | Fix some whitespace issues | Attila Molnar | |
2015-06-03 | Add support for channel alias prefixes with multiple characters. | Peter Powell | |
2015-02-15 | Convert mods calling the old compat wrapper of ModuleManager::SetPriority() ↵ | Attila Molnar | |
to use the current method, remove wrapper | |||
2015-01-10 | Reduce std::string::substr() usage | Attila Molnar | |
substr() returns a new string while erase() and assign() modify the existing one | |||
2014-12-15 | Change type of some associative containers to their flat versions, including ↵ | Attila Molnar | |
Extensible storage | |||
2014-06-13 | Change allocation of InspIRCd::Parser to be physically part of the object ↵ | Attila Molnar | |
containing it | |||
2014-05-26 | Switch to std::string::compare() from substr() in a couple of places | Attila Molnar | |
2014-01-27 | m_alias Remove duplicate checks | Attila Molnar | |
2014-01-27 | m_alias Use equal_range() when searching for aliases | Attila Molnar | |
2014-01-21 | Merge insp20 | Attila Molnar | |
2014-01-19 | m_alias Fix out of bounds string access that happened with certain replace ↵ | Attila Molnar | |
strings | |||
2014-01-09 | Stop null checking pointers that are always valid | Attila Molnar | |
2014-01-05 | Introduce Server class | Attila Molnar | |
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() | |||
2014-01-04 | Add functor that does strict weak ordering based on ↵ | Attila Molnar | |
national_case_insensitive_map | |||
2013-11-12 | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵ | Adam | |
automatically | |||
2013-08-30 | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵ | attilamolnar | |
and on rehash This eliminates the need for calling OnRehash() in init() | |||
2013-08-04 | Automatically attach modules to events | attilamolnar | |
2013-07-19 | Replace hardcoded mode letters, part 3 | attilamolnar | |
This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core | |||
2013-07-04 | Remove $Core and $Mod* comments apart from $ModDep. | Peter Powell | |
2013-06-06 | Compare to ServerLimits::MaxLine instead of MAXBUF. | Peter Powell | |
2013-06-06 | Reserve ServerLimits::MaxLine instead of MAXBUF. | Peter Powell | |
2013-06-06 | Merge insp20 | attilamolnar | |
2013-06-01 | Remove #define MAXPARAMETERS and "MAXPARA" 005 token | attilamolnar | |
2013-05-20 | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to ↵ | attilamolnar | |
OnUserMessage and OnUserPreMessage All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases | |||
2013-05-16 | Remove unused variables, avoid copies where possible, check empty() instead ↵ | attilamolnar | |
of size() == 0 Most of these were detected by cppcheck | |||
2013-05-15 | Tidy up keywords on module methods. | Peter Powell | |
- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. | |||
2013-04-10 | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper() | attilamolnar | |
2013-04-01 | Whitespace and empty destructor removal, minor coding style changes | attilamolnar | |
2012-12-02 | Dynamically determine the size of the eventlist[] passed to Attach() | attilamolnar | |
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove | |||
2012-12-02 | Attach to events and register services in init() | attilamolnar | |
2012-11-12 | Remove usage of the deprecated ConfigReader | attilamolnar | |
2012-10-12 | Remove superfluous std::string()s | attilamolnar | |
2012-09-23 | Fix undefined behavior caused by referencing the returned buffer by ↵ | attilamolnar | |
std::string::c_str() when the object is temporary Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall | |||
2012-04-19 | Replace copyright headers with headers granting specific authors copyright | Robby- | |