aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Collapse)AuthorAgeFilesLines
* Fix error message for splitwhois value.Gravatar Matt Schatz2019-07-031-1/+1
|
* Show the mode syntax in ERR_INVALIDMODEPARAM.Gravatar Peter Powell2019-06-124-0/+4
|
* Allow channels/auspex to see a secret channel topic. (#1654)Gravatar Matt Schatz2019-06-051-1/+1
| | | | | | An oper with the 'channels/auspex' priv can now see the topic of a secret channel (that they are not in) using TOPIC. This is on par with the expectation of 'channels/auspex' and current LIST behaviour.
* Move message access checks to OnUserPre{Tag,}Message.Gravatar Peter Powell2019-05-111-30/+36
| | | | | | This allows modules to override them if necessary. Fixes #1619.
* cmd_names: Fix the syntax.Gravatar Robby2019-05-051-1/+1
|
* Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-1/+1
|
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-2813-25/+25
|
* Fix grammar in unknown mode/snomask character messages.Gravatar Robby2019-04-211-1/+1
|
* Improve the descriptions of various core modules.Gravatar Peter Powell2019-04-195-5/+5
|
* Demote core_ison and core_userhost to commands in core_user.Gravatar Peter Powell2019-04-194-81/+52
| | | | These are not important enough for their own module.
* Promote cmd_mode to its own core module.Gravatar Peter Powell2019-04-193-37/+54
| | | | | core_user was an inappropriate location for this as it contains mode changing code which is used by channels as well as users.
* Remove the OnNamesListItem event out of the core.Gravatar Peter Powell2019-04-192-7/+7
|
* Fix some bugs in LIST constraint parsing.Gravatar Peter Powell2019-04-181-14/+16
| | | | | | 1. Allow flags to be specified in lower case. This behaviour is required by the draft-hardy-irc-isupport-00 specification. 2. Allow more than one constraint to be specified.
* Rename GetFlagIndex -> GetFieldIndexGravatar linuxdaemon2019-03-121-1/+1
|
* Move field lookup logic out of WhoData constructorGravatar linuxdaemon2019-03-121-15/+21
|
* Add Who::Request::GetFlagIndex to get field indexGravatar linuxdaemon2019-03-121-0/+22
| | | | Replaces the dirty logic in m_hideoper and m_namesx
* Fix not showing all modes on a channelGravatar linuxdaemon2019-02-201-1/+3
| | | | | | | Whenever a mode has a parameter, no modes past that mode will be shown in RPL_CHANNELMODEIS. References to items in a vector break when the vector's size is changed.
* Implement support for IRCv3 client-to-client tags.Gravatar Peter Powell2019-02-191-1/+1
|
* Start using DurationString() in X-line additions andGravatar Matt Schatz2019-02-185-25/+20
| | | | a few other modules where it fits better than just showing seconds.
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-1826-30/+30
|
* Replace GetServerPort() with server_sa.port().Gravatar Peter Powell2019-02-151-1/+1
|
* Implement support for SQUERY from RFC 2812.Gravatar Peter Powell2019-02-091-1/+65
| | | | | | | | This is treated internally as a PRIVMSG with a few exceptions: 1. The command MUST have exactly one target. 2. The target MUST be a user. 3. The target MUST be on a u-lined server (e.g. NickServ).
* Move CommandMessage::Handle into the class definition.Gravatar Peter Powell2019-02-091-24/+29
|
* Move message handling code to Handle{Channel,Server,User}Target.Gravatar Peter Powell2019-02-091-144/+154
| | | | This makes the logic for this module considerably easier to read.
* Deduplicate firing module events in core_message.Gravatar Peter Powell2019-02-091-56/+45
|
* core_message: remove unnecessary inheritance logic.Gravatar Peter Powell2019-02-081-27/+17
|
* Rename core_privmsg to core_message.Gravatar Peter Powell2019-02-081-0/+0
|
* Fix an unintentionally inverted condition in core_oper.Gravatar Peter Powell2019-02-071-1/+1
|
* Quit users during cleanup instead of when /DIE is executed.Gravatar Peter Powell2019-02-051-9/+0
|
* Move <oper:class> and <oper:vhost> to core_oper.Gravatar Peter Powell2019-02-051-0/+15
|
* Fix -Wnewline-eof warning.Gravatar Peter Powell2019-01-291-1/+1
|
* Fix RPL_ADMINME not having the correct parameters.Gravatar Peter Powell2019-01-281-1/+1
|
* Fix sending the modes in RPL_CHANNELMODEIS as one big parameter.Gravatar Peter Powell2019-01-281-1/+45
|
* Add ParamMode::IsParameterSecret and remove special casing of keys.Gravatar Peter Powell2019-01-282-0/+6
|
* Fix not checking for server names case insensitively.Gravatar Peter Powell2019-01-286-6/+6
|
* Remove trailing whitespace from various source files.Gravatar Peter Powell2019-01-243-4/+3
|
* Fix overriding <options:exemptchanops> with the exemptchanops mode.Gravatar Peter Powell2019-01-241-1/+1
| | | | Closes #1558.
* Add the reason to xline removal notices. (#1545)Gravatar Matt Schatz2019-01-245-10/+20
| | | | | | | | | Show the reason in manual xline removal SNOTICEs, just like expiry SNOTICEs do. This modifies XLineManager::DelLine() to require another string reference passed to it. Requested by @Robby-.
* Implement support for the extended tag space for client tags.Gravatar Peter Powell2019-01-241-20/+55
|
* Don't tell the user if DNS lookups are disabled.Gravatar Peter Powell2019-01-231-6/+2
|
* Fix sending the entire VERSION output as a single parameter.Gravatar Peter Powell2019-01-191-2/+6
| | | | Closes #1560.
* Redo OnSetEndPoint logic to fix duplicate clones (#1549).Gravatar linuxdaemon2019-01-141-0/+9
|
* core_privmsg: respect the exemption list when sending $* messages.Gravatar Peter Powell2019-01-091-21/+18
|
* Improve X-line text consistency.Gravatar Matt Schatz2019-01-097-30/+30
| | | | | | | | | | - Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be>
* core_stub: add stubs for the SUMMON and USERS commands.Gravatar Peter Powell2019-01-071-2/+48
|
* Update the names in the /INFO credits.Gravatar Peter Powell2019-01-041-3/+2
| | | | | - Add linuxdaemon to Active Contributors. - Move Sheogorath to Active Contributors.
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-216-6/+39
|
* Add the <maxlist> tag and switch ListModeBase to always use it.Gravatar Peter Powell2018-12-192-2/+2
| | | | | | | | | | | | | | The old method of doing this was: 1. Extremely inconsistently used. Some list modes used <banlist> and some used their own config tag. 2. Not documented in the slightest. There was a small reference to <maxbans> for the ban mode but nothing else. 3. In some cases conflicting with other config tags. The chanfilter module defined a <chanfilter> tag for general config whilst also using it for the max list settings. The new <maxlist> tag avoids these issues entirely.
* Make more modules rehash atomically (#1535)Gravatar linuxdaemon2018-12-198-62/+83
| | | | | Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs
* Alphabetically sort the modes in MAXLIST tokens.Gravatar Peter Powell2018-12-171-1/+4
| | | | | This isn't strictly necessary but we do it for other modes in 005 so lets do it for MAXLIST too.