aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'insp20' into master.Gravatar Peter Powell2018-07-151-1/+0
* Implement support for the WHOX extension.•••This is a massive rewrite of core_who which was initially developed by Adam in 2014. I have rebased and cleaned it up and tightened up compliance with the specifications. Co-authored-by: Adam <Adam@anope.org> Gravatar Peter Powell2018-07-121-282/+469
* Switch core_dns validation to use InspIRCd::IsHost.Gravatar Peter Powell2018-07-101-6/+1
* Add a silent option to <options:restrictbannedusers>.•••This is useful when dealing with spambots that switch method when they receive ERR_CANNOTSENDTOCHAN. Gravatar Peter Powell2018-07-102-5/+7
* Use !empty() instead of 'size() > 0' when checking parameter count.Gravatar B00mX0r2018-07-031-1/+1
* Call OnUserMessageBlocked when a PRIVMSG or a NOTICE is blocked.•••This is necessary to allow m_ircv3_echomessage to pretend that a message was echoed successfully. This is useful as it doesn't let spammers know that their message was blocked. Gravatar Peter Powell2018-04-161-0/+9
* Add range checking to ConfigTag::getFloat.Gravatar Peter Powell2018-04-161-1/+1
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-162-3/+3
* Change some usage of "gecos" to "real name"•••Within the example configs, helpops, some server sent messages, and simple code comments: change the primary usage of "gecos" to "real name" (or "realname" where fitting). Gravatar genius30002018-04-111-1/+1
* Optimize some behaviour in the core (#1476).Gravatar Dylan Frank2018-04-091-1/+1
* Include modules/whois.h directly from files that use it.Gravatar Peter Powell2018-04-081-0/+1
* Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-082-4/+17
* Refactor m_sqloper to be a full opers.conf replacement (#983).•••m_sqloper now supports dynamic fields, works with m_sslinfo, and works with /stats o.Gravatar Dylan Frank2018-04-061-3/+3
* Prioritize checking for +ikl last to match previous behavior (#1474).Gravatar Dylan Frank2018-03-311-0/+1
* Move <security:announceinvites> to core_channel.Gravatar Peter Powell2018-03-313-4/+35
* Move checking for +ikl from the core to to core_channel.Gravatar Peter Powell2018-03-311-0/+47
* Do not send unset topics on channel join per RFC (#1469)•••Fixes #1091.Gravatar Dylan Frank2018-03-251-1/+1
* Separate secret and private channels on whois for non-opers (#1447)•••Separate secret and private channels on WHOIS for all users. - Move the config parsing from the core to core_whois. - Replace <security:operspywhois> with an oper privilege. - Introduce <options:splitwhois> to split WHOIS channel lists. Closes #969.Gravatar Dylan Frank2018-03-251-17/+65
* Add Haiku supportGravatar Puck Meerburg2018-03-101-1/+2
* 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
|\