aboutsummaryrefslogtreecommitdiffstats
path: root/src/coremods
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2020-01-313-3/+3
|
* Use the default OnParameterMissing in ModeUserServerNoticeMask.Gravatar Sadie Powell2020-01-302-7/+1
|
* Tweak the default motd/opermotd slightly.Gravatar Sadie Powell2020-01-221-1/+1
| | | | | Also, remove the - at the start of the MOTD field. This is cargo culted from irc2 and theres no real reason to actually do this.
* Improve the DNS cache expiration log message.Gravatar Sadie Powell2020-01-171-2/+8
| | | | | | Instead of constantly spamming the log file only show the message when an entry is actually expired and show how many entries were expired.
* Update copyright headers.Gravatar InspIRCd Robot2020-01-1160-85/+350
|
* Update my name and email address.Gravatar Sadie Powell2019-12-312-2/+2
|
* Move XLine garbage collection to core_xline.Gravatar Peter Powell2019-12-081-0/+8
|
* Make rehashing messages more consistent.Gravatar Peter Powell2019-11-171-11/+5
|
* Fix some compiler errors in core_hostname_lookup.Gravatar Peter Powell2019-10-221-2/+2
| | | | No thanks to SourceTree's diff view for causing this.
* Handle more error cases in core_hostname_lookup.Gravatar Peter Powell2019-10-221-12/+16
|
* On DNS fail reset connecting users hostname to their IP.Gravatar Peter Powell2019-10-221-0/+2
| | | | Closes #1713.
* Improve the core_hostname_lookup result log message.Gravatar Peter Powell2019-10-211-1/+4
| | | | | - Add the type of request. - Add whether the request was cached.
* Remove duplicate code in core_hostname_lookup.Gravatar Peter Powell2019-10-211-28/+5
| | | | | - The lookup type is already stored in the question. - core_dns validates hostnames by IsHost already.
* Get rid of the ptrHosts extension item.Gravatar Peter Powell2019-10-211-10/+2
| | | | | This is unnecessary as the resolved value is already stored in the question in the request class.
* Add GetTypeStr to the DNS API.Gravatar Peter Powell2019-10-131-0/+19
|
* Convert a bunch of LocalUser* casts to IS_LOCAL.Gravatar Peter Powell2019-10-131-2/+2
| | | | This is a lot safer and handles users changing servers properly.
* Show the list modes which have variable list lengths in 005.Gravatar Peter Powell2019-10-011-4/+14
|
* Fix some remaining uses of ato[il].Gravatar Peter Powell2019-08-131-1/+1
|
* Convert all core ExtensionItem code away from {un,}serialize.Gravatar Peter Powell2019-08-072-17/+25
|
* Add {To,From}{Human,Internal,Network} to ExtensionItem.Gravatar Peter Powell2019-08-071-2/+2
| | | | Also, deprecate the old SerializeFormat/serialize/unserialise API.
* Send ERR_NOTEXTTOSEND in response to an empty GLOBOPS/WALLOPS.Gravatar Peter Powell2019-07-151-0/+6
|
* 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
|