aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_alias.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2023-12-221-1/+1
|
* Allow using $address for the user IP address in alias templates.Gravatar Sadie Powell2023-11-121-0/+5
| | | | Closes #2068.
* 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.Gravatar Peter Powell2019-06-061-1/+1
| | | | | 99% of cases of this are due to misconfigurations not due to underhanded behaviour.
* 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)Gravatar linuxdaemon2018-12-191-7/+15
| | | | | Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs
* Fix aliases that resolve to messages echoing with echo-message.Gravatar Peter Powell2018-08-151-0/+15
| | | | Fixes #1459.
* Fix m_alias not reconstituting the RFC message properly.Gravatar Peter Powell2018-08-151-2/+2
|
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-1/+1
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.Gravatar Peter Powell2018-08-101-2/+2
| | | | | This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously.
* Remove the original line parameter of On{Pre,Post}Command.Gravatar Peter Powell2018-08-101-1/+16
| | | | | | | | | 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.
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-2/+2
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Rework message handling.Gravatar Peter Powell2018-01-061-7/+7
| | | | | | | | | | | | | - 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.
* 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.Gravatar Peter Powell2017-10-281-2/+2
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* Add support for length arguments in getString.Gravatar Peter Powell2017-09-031-2/+1
|
* Remove <alias:matchcase> and associated code.Gravatar Peter Powell2017-08-131-14/+2
| | | | This was never documented and seems pretty useless.
* Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-121-1/+1
| | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* Rework the example services aliases.Gravatar Peter Powell2016-11-161-3/+8
| | | | | | | - 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.
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-2/+2
| | | | parameters
* 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() ↵Gravatar Attila Molnar2015-02-151-1/+1
| | | | to use the current method, remove wrapper
* Reduce std::string::substr() usageGravatar Attila Molnar2015-01-101-2/+2
| | | | substr() returns a new string while erase() and assign() modify the existing one
* Change type of some associative containers to their flat versions, including ↵Gravatar Attila Molnar2014-12-151-1/+1
| | | | Extensible storage
* Change allocation of InspIRCd::Parser to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-1/+1
| | | | containing it
* 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 ↵Gravatar Attila Molnar2014-01-191-2/+2
| | | | | | | | strings
* | Stop null checking pointers that are always validGravatar Attila Molnar2014-01-091-1/+1
| |
* | Introduce Server classGravatar Attila Molnar2014-01-051-1/+1
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | Add functor that does strict weak ordering based on ↵Gravatar Attila Molnar2014-01-041-16/+16
| | | | | | | | national_case_insensitive_map
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-2/+2
| | | | | | | | automatically
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-12/+2
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
| |
* | Replace hardcoded mode letters, part 3Gravatar attilamolnar2013-07-191-1/+7
| | | | | | | | This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
* | 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
|\|