aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Expand)AuthorAgeFilesLines
* Send the ACCEPT and KEYLEN ISUPPORT tokens.•••- The ACCEPT=[count] token specifies the maximum amount of nicks which can be added to a m_callerid accept list. This token was added by ircd-ratbox in 3.0.9. - The KEYLEN=[length] token specifies the maximum length of a channel key. This token was added by ircd-ratbox in 3.1 beta. For more info see http://defs.ircdocs.horse/defs/isupport.html Gravatar Peter Powell2018-02-073-1/+5
* Pass an irc::socket::sockaddrs to SocketEngine::SendTo().Gravatar Peter Powell2018-01-201-1/+1
* Strip commas from channel keys like Charybdis and others do.Gravatar Peter Powell2018-01-061-1/+14
* 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-31/+29
* Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics•••Per #1122 Gravatar B00mX0r2017-12-228-12/+25
* Rename <security:hidewhois> to <security:hideserver>.•••The previous name was horrible and didn't describe what the setting actually does. Gravatar Peter Powell2017-12-223-13/+13
* Clarify error message when attempting to /NICK while bannedGravatar B00mX0r2017-12-191-1/+2
* Don't allow users to set a zero channel limit.•••Closes #451. Gravatar Peter Powell2017-12-113-2/+9
* Extract RFC modes from the core to core_channel and core_user.Gravatar Peter Powell2017-12-108-2/+460
* Clean up numeric usage in WHOIS and WHOWAS.•••- Add constants for all of the used numerics. - Switch RPL_CHANNELSMSG from 336 to 651 to avoid a conflict with RPL_INVITELIST from ircd-hybrid. - Switch RPL_WHOWASIP from 379 to 652 to avoid a conflict with RPL_WHOISMODES from UnrealIRCd. Gravatar Peter Powell2017-12-092-13/+39
* Use ERR_INVALIDUSERNAME rather than ERR_NEEDMOREPARAMS in USER.•••This numeric is a lot more friendly for clients to deal with. Gravatar Peter Powell2017-11-281-5/+7
* Convert the remaining things away from the caller/handler API.Gravatar Peter Powell2017-11-251-1/+1
* Fix a minor typo in core_channel.Gravatar Peter Powell2017-11-251-1/+1
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-2120-66/+66
* Improve LIST and implement more extended list features.•••- Move the ISUPPORT token from the core into core_user and start sending the SAFELIST token to let clients know that they can safely run LIST on big servers. - Add support for the channel creation time (C), topic set time (T), and inverted glob match (N) filters as specified in the draft-hardy-irc-isupport-00 specification. - Clean up the logic for filtering channels by user count. Gravatar Peter Powell2017-11-171-12/+110
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-176-14/+15
* Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-121-2/+2
* Add support for setting the unset rank in ModeHandler.Gravatar Peter Powell2017-11-061-2/+2
* Make core_hostname_lookup redo the lookup when a user's IP changes.•••This removes the need to do lookups in the cgiirc module. This is useful as relying on gateways to do proper DNS checks is unreliable and has resulted in issues like 5fc4403f62. Its more sane if we do our own lookups. This change has been okayed by multiple WEBIRC gateway authors so I don't think it will cause many problems. Gravatar Peter Powell2017-10-311-2/+2
* 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-288-20/+16
* Move Shutter to former contributors & thank genius3000, Sheogorath.Gravatar Peter Powell2017-10-221-3/+4
* Tweak the module flags in MODULES slightly.•••Using unique letters for each flag makes it easier to read when using fonts which have similar glyphs for upper and lower case characters. Gravatar Peter Powell2017-10-211-1/+1
* Add a helper function for calling the OnCheckExemption event.Gravatar Peter Powell2017-10-211-2/+1
* Remove an outdated comment in cmd_user.•••We don't use C strings for storing the ident anymore. Gravatar Peter Powell2017-10-151-5/+0
* Merge the latest changes from insp20 into master.Gravatar Peter Powell2017-10-122-3/+3
* Store the server endpoint as a sockaddrs in ListenSocket.Gravatar Peter Powell2017-09-121-9/+1
* Move operquit out of the core and into core_user.Gravatar Peter Powell2017-09-112-2/+6
* Change the numerics used by /COMMANDS to avoid a collision.Gravatar Peter Powell2017-09-061-0/+7
* Improve the /MODULES output.Gravatar Peter Powell2017-09-061-4/+11
* Remove module file extensions from user-visible messages.Gravatar Peter Powell2017-08-271-1/+1
* Merge pull request #1271 from SaberUK/master+exemption•••Move the OnCheckExemption hook out of the core.Gravatar Peter Powell2017-07-273-6/+53
|\
| * Move the OnCheckExemption hook out of the core.Gravatar Peter Powell2017-03-203-6/+53
* | Replace the deprecated MAXBANS token with MAXLIST.Gravatar Peter Powell2017-07-241-0/+25
* | cmd_kill: deduplicate logicGravatar Adam2017-07-121-20/+12
* | cmd_kill: log all kills from or to remote usersGravatar Adam2017-07-121-1/+11
* | cmd_kill: correct notices to show as a remote kill when a remote oper kills a...Gravatar Adam2017-07-121-11/+2
* | cmd_kill: rename u to targetGravatar Adam2017-07-121-12/+12
* | cmd_kill: don't show kill path in KILL messages to usersGravatar Adam2017-07-121-4/+2
* | cmd_kill: reshuffleGravatar Adam2017-07-121-70/+68
* | 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-127-18/+18
* | Merge v2.0.23 and v2.0.24 into master.Gravatar Peter Powell2017-07-091-3/+8
* | core_dns: add support for txt records•••This might be used later by m_dnsbl to get reasons for listings Gravatar Adam2017-04-231-1/+14
|/
* cmd_mode Switch to a numeric for showing modes of other usersGravatar Attila Molnar2016-12-301-11/+22
* Clean up User::FormatModes(), rename to GetModeLetters()•••Prefix the returned string with '+' Gravatar Attila Molnar2016-12-302-3/+3
* Remove remaining doxygen doc for "pcnt" parametersGravatar Attila Molnar2016-12-301-1/+0
* Penalize commands that had 0 penaltyGravatar Attila Molnar2016-12-304-4/+0
* Merge pull request #1176 from SaberUK/master+format•••Replace snprintf usage with InspIRCd::Format.Gravatar Attila Molnar2016-09-161-21/+9
|\
| * Replace snprintf usage with InspIRCd::Format.Gravatar Peter Powell2016-09-091-21/+9
* | Change type of log messages to MODNAME in several modulesGravatar Attila Molnar2016-09-122-3/+3
* | Undocument <power> and set the default to the server name.Gravatar Peter Powell2016-09-123-3/+3
|/