aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_delayjoin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rework message handling.Gravatar Peter Powell2018-01-061-6/+9
| | | | | | | | | | | | | - 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.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-1/+1
| | | | GCCs warnings for this are much better than Clangs.
* Add support for setting the unset rank in ModeHandler.Gravatar Peter Powell2017-11-061-1/+1
|
* Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+3
|
* Remove some unnecessary NULL checksGravatar Attila Molnar2015-01-101-5/+1
|
* Merge insp20Gravatar Attila Molnar2014-10-271-0/+4
|\
| * m_delayjoin Only send JOIN on mode change if the mode being changed is a ↵Gravatar Attila Molnar2014-10-171-0/+5
| | | | | | | | prefix mode
* | Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator insteadGravatar Attila Molnar2014-07-141-2/+2
| |
* | Rename UserMembList to Channel::MemberMap, switch all code to use itGravatar Attila Molnar2014-07-141-2/+2
| |
* | Change return type of Channel::GetUsers() to reference from pointer as it is ↵Gravatar Attila Molnar2014-07-141-4/+4
| | | | | | | | never NULL
* | Kill needless #includes in source filesGravatar Attila Molnar2014-06-141-1/+0
| |
* | Change the OnNamesListItem() hook to return ModResultGravatar Attila Molnar2014-04-201-4/+6
| | | | | | | | Return MOD_RES_DENY to exclude the user from the NAMES list
* | Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcntGravatar Attila Molnar2014-02-211-2/+2
| |
* | Convert UserChanList to an intrusively linked listGravatar Attila Molnar2014-01-241-8/+8
| |
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-5/+0
| |
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
| |
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵Gravatar attilamolnar2013-07-011-3/+3
| | | | | | | | with ModeHandlers, part 1
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-9/+9
| | | | | | | | | | - Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-6/+0
|/
* Register a few extensions that weren't registeredGravatar attilamolnar2012-12-021-0/+1
|
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-021-2/+1
| | | | AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-0/+4
|
* Module description updatesGravatar Robby-2012-05-301-3/+2
|
* Debian typo fixes.Gravatar Peter Powell2012-05-251-2/+2
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
|
* Stop hiding users when a prefix is set on them, fixes apparent desyncsGravatar Jens Voss2010-08-081-3/+25
|
* Remove VF_COMMON from mode-provider modules (no longer needed due to better ↵Gravatar danieldg2010-01-151-1/+1
| | | | | | CAPAB checking) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12263 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of ModePairGravatar danieldg2009-10-241-3/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11963 e03df62e-2008-0410-955e-edbf42e46eb7
* Add names for all modes (part 1 of named channel mode list)Gravatar danieldg2009-10-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11809 e03df62e-2008-0410-955e-edbf42e46eb7
* Add OnBuildNeighborList hook, replaces all uses of OnHostCycleGravatar danieldg2009-10-051-32/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11802 e03df62e-2008-0410-955e-edbf42e46eb7
* Run DelMode and DelModeWatcher in RemoveModuleGravatar danieldg2009-10-051-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11799 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Describe module purpose in /MODULES outputGravatar danieldg2009-09-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix OnHostCycle in m_delayjoin [patch by dKingston]Gravatar danieldg2009-09-141-2/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11720 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove redundant ServerInstance* fieldsGravatar danieldg2009-09-131-1/+1
| | | | | | | | It has been impossible to have more than one InspIRCd* object in the same address space for some time now, and this feature was never used. This formalizes class InspIRCd as a singleton object. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11703 e03df62e-2008-0410-955e-edbf42e46eb7
* Simplify ModeHandler constructorGravatar danieldg2009-09-131-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7
* Module API changes to use Membership* where sensibleGravatar danieldg2009-09-131-36/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11699 e03df62e-2008-0410-955e-edbf42e46eb7
* Membership* changesGravatar danieldg2009-09-131-83/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7
* Rip out VisData in preparation for replacing it with more flexible hooksGravatar danieldg2009-09-021-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11640 e03df62e-2008-0410-955e-edbf42e46eb7
* ModResult conversion: Change return type of all module functionsGravatar danieldg2009-09-021-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove "servermode" parameter, replace with IS_FAKE() which is more reliableGravatar danieldg2009-09-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Module* creator to Command and ModeHandlerGravatar danieldg2009-09-021-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
* Add "created" parameter to OnUserJoin, to avoid explicit checks for +PGravatar danieldg2009-09-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11597 e03df62e-2008-0410-955e-edbf42e46eb7
* Change allocation of commands/modesGravatar danieldg2009-09-021-6/+4
| | | | | | | | | | API change: Commands passed to AddCommand are no longer deleted automatically This removes lots of needless heap allocation and fixes a few memory leaks by allocating commands and modes as part of the Module rather than creating them separately in the module constructor. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11592 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix delayjoin adding an extra @ prefix modeGravatar danieldg2009-03-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11172 e03df62e-2008-0410-955e-edbf42e46eb7
* delayjoin: Remove broken check for channel ops, use ModeHandler parameter ↵Gravatar danieldg2009-03-041-26/+15
| | | | | | instead git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11169 e03df62e-2008-0410-955e-edbf42e46eb7