aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Expand)AuthorAgeFilesLines
...
* Fix a typo in core_user.Gravatar Peter Powell2018-12-151-1/+1
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.•••The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting. Gravatar Peter Powell2018-12-122-3/+3
* Fix overly escaping MOTDs if they are in more than one connect class.Gravatar Peter Powell2018-12-103-2/+24
* Fix the OnSendWhoLine event being completely broken with WHOX.Gravatar Peter Powell2018-11-151-25/+6
* Fix the syntax description for the WHO command.•••Thanks to @KoraggKnightWolf for reporting this. Gravatar Peter Powell2018-11-111-1/+1
* Move <security:userstats> into core_stats.Gravatar Peter Powell2018-10-011-3/+10
* Move <security:genericoper> into core_whois.Gravatar Peter Powell2018-10-011-1/+10
* Move <security:hideulinekills> into core_oper.Gravatar Peter Powell2018-10-013-1/+5
* Move <security:hidekills> into core_oper.Gravatar Peter Powell2018-10-013-6/+15
* Switch all core modules still using COMMAND_INIT to MODULE_INIT.Gravatar Peter Powell2018-09-235-5/+89
* Don't update the idle timer when a user replies to a CTCP.•••Closes #1305. Gravatar Peter Powell2018-08-261-6/+16
* Implement proper CTCP parsing in MessageDetails.Gravatar Peter Powell2018-08-261-3/+71
* Send the 001-004 numerics and MOTD/LUSERS from core_info.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-221-1/+99
* Fix a few things that should be marked as override but aren't.Gravatar Peter Powell2018-08-211-1/+1
* Remove the OnInfo event.•••This is not used by anything and On{Post,Pre}Command hooks can be used if people really want to add stuff to INFO. Gravatar Peter Powell2018-08-141-1/+1
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-1310-56/+511
* Add an accessor for the last mode change list to ModeParser.•••GetLastParse will be going away soon. Gravatar Peter Powell2018-08-131-1/+1
* Convert AWAY to use cross-module events and clean up slightly.•••OnSetAway has been replaced with four events. OnUserPreAway and OnUserPreBack can be used to deny an away state change and/or change the away message of a local user. OnUserAway and OnUserBack allow modules to be notified that a user's away state has changed. Gravatar Peter Powell2018-08-122-12/+33
* Pass the Extensible container to ExtensionItem::free().Gravatar Peter Powell2018-08-121-2/+2
* Remove support for static modules.•••This has been frequently broken in the past and as far as I know is used by literally nobody. Also, even if all modules are compiled into the core any libraries linked against are and have always been linked dynamically making this unusable on platforms without dynamic libraries. Gravatar Peter Powell2018-07-311-4/+0
* Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-304-7/+8
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-302-3/+3
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-2648-112/+112
* Remove Log() calls made unnecessary by the previous commit.Gravatar Peter Powell2018-07-202-8/+0
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-181-0/+7
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-182-6/+6
* 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