aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_alias.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2023-12-221-1/+1
* Allow using $address for the user IP address in alias templates.•••Closes #2068. Gravatar Sadie Powell2023-11-121-0/+5
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+2
* Update copyright headers.Gravatar InspIRCd Robot2021-02-261-2/+2
* Fix the numeric sent when a U-lined alias target is not online.Gravatar Sadie Powell2021-02-181-2/+3
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+9
* Use FindNickOnly for finding the required nick for an alias.Gravatar Peter Powell2019-12-211-1/+1
* m_alias: Add option to strip colors when matchingGravatar linuxdaemon2019-09-141-1/+9
* Use a less scary message when an alias target is not U-lined.•••99% of cases of this are due to misconfigurations not due to underhanded behaviour. Gravatar Peter Powell2019-06-061-1/+1
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-3/+3
* Fix m_alias not initialising 'active' before use.Gravatar Peter Powell2019-01-091-0/+1
* Make more modules rehash atomically (#1535)•••Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs Gravatar linuxdaemon2018-12-191-7/+15
* Fix aliases that resolve to messages echoing with echo-message.•••Fixes #1459. Gravatar Peter Powell2018-08-151-0/+15
* Fix m_alias not reconstituting the RFC message properly.Gravatar Peter Powell2018-08-151-2/+2
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-1/+1
* Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.•••This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously. Gravatar Peter Powell2018-08-101-2/+2
* Remove the original line parameter of On{Pre,Post}Command.•••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. Gravatar Peter Powell2018-08-101-1/+16
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-2/+2
* Rework message handling.•••- 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. Gravatar Peter Powell2018-01-061-7/+7
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
* Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-2/+2
* Add support for length arguments in getString.Gravatar Peter Powell2017-09-031-2/+1
* Remove <alias:matchcase> and associated code.•••This was never documented and seems pretty useless. Gravatar Peter Powell2017-08-131-14/+2
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-1/+1
* Rework the example services aliases.•••- 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. Gravatar Peter Powell2016-11-161-3/+8
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-2/+2
* Fix some whitespace issuesGravatar Attila Molnar2015-12-281-1/+1
* Add support for channel alias prefixes with multiple characters.Gravatar Peter Powell2015-06-031-9/+9
* Convert mods calling the old compat wrapper of ModuleManager::SetPriority() t...Gravatar Attila Molnar2015-02-151-1/+1
* Reduce std::string::substr() usage•••substr() returns a new string while erase() and assign() modify the existing one Gravatar Attila Molnar2015-01-101-2/+2
* Change type of some associative containers to their flat versions, including ...Gravatar Attila Molnar2014-12-151-1/+1
* Change allocation of InspIRCd::Parser to be physically part of the object con...Gravatar Attila Molnar2014-06-131-1/+1
* Switch to std::string::compare() from substr() in a couple of placesGravatar Attila Molnar2014-05-261-5/+5
* m_alias Remove duplicate checksGravatar Attila Molnar2014-01-271-7/+3
* m_alias Use equal_range() when searching for aliasesGravatar Attila Molnar2014-01-271-19/+6
* Merge insp20Gravatar Attila Molnar2014-01-211-2/+2
|\
| * m_alias Fix out of bounds string access that happened with certain replace st...Gravatar Attila Molnar2014-01-191-2/+2
* | Stop null checking pointers that are always validGravatar Attila Molnar2014-01-091-1/+1
* | Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-1/+1
* | Add functor that does strict weak ordering based on national_case_insensitive...Gravatar Attila Molnar2014-01-041-16/+16
* | Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-2/+2
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-12/+2
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
* | Replace hardcoded mode letters, part 3•••This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core Gravatar attilamolnar2013-07-191-1/+7
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* | Compare to ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
* | Reserve ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
* | Merge insp20Gravatar attilamolnar2013-06-061-1/+1
|\|