aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_alias.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix some places where U-line -> service was missed.Gravatar Sadie Powell2021-08-291-1/+1
|
* Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
|
* Migrate collections from insert to emplace.Gravatar Sadie Powell2021-04-181-1/+1
|
* Constify variables within loops.Gravatar Sadie Powell2021-04-011-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-2/+2
|\
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+2
| |
* | Move iterator_range to the utility directory and renamespace.Gravatar Sadie Powell2021-03-021-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-02-281-4/+5
|\|
| * 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
| |
* | Rename <alias:uline> to <alias:service>.Gravatar Sadie Powell2021-01-301-4/+4
| |
* | Use references instead of pointers for aliases.Gravatar Sadie Powell2020-11-111-18/+18
| |
* | Add stdalgo::equal_range and switch more stuff to iterator_range.Gravatar Sadie Powell2020-11-111-12/+12
| |
* | Initial support for platform-specific module file extensions.Gravatar Sadie Powell2020-11-041-1/+1
| |
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-2/+2
| |
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
| |
* | Add stdalgo::iterator_range and switch config tag reading to use it.Gravatar Sadie Powell2020-10-311-3/+1
| | | | | | | | | | This allows us to use range-based for loops which were not possible with the previous config tag system.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
| |
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+2
| |
* | Move FindNickOnly to UserManager.Gravatar Sadie Powell2020-02-091-1/+1
| |
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-2/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-4/+9
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+9
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-011-1/+1
|\|
| * Use FindNickOnly for finding the required nick for an alias.Gravatar Peter Powell2019-12-211-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-09-231-1/+9
|\|
| * m_alias: Add option to strip colors when matchingGravatar linuxdaemon2019-09-141-1/+9
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-1/+1
|\|
| * 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.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-3/+3
|\|
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-3/+3
| |
* | SnomaskManager: remove fakederef.Gravatar Sadie Powell2019-02-071-1/+1
| |
* | ModuleManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
| |
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-6/+6
|/
* 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.