aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_override.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add support for setting the unset rank in ModeHandler.Gravatar Peter Powell2017-11-061-1/+1
|
* Merge v2.0.23 and v2.0.24 into master.Gravatar Peter Powell2017-07-091-1/+2
|\
| * m_override: fix parentheses compiler warningGravatar Adam2017-05-171-1/+1
| |
| * fix channel rank issueGravatar Sheogorath2016-12-101-1/+2
| |
* | Send NOTICEs to local channel members with Channel::WriteNotice()Gravatar Attila Molnar2016-03-051-1/+1
| |
* | Rewrite invite systemGravatar Attila Molnar2015-11-021-1/+4
| | | | | | | | | | | | | | | | - Moved out of core, now lives entirely in core_channel - Accessible using the provided API after including the appropriate header - Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS - Expiration of timed invites are implemented using Timers - When creating a new invite let a non-timed invite override a timed one
* | Pass Modes::ChangeList references to the OnPreMode hook, make it modifiableGravatar Attila Molnar2014-09-041-11/+27
| | | | | | | | This gets rid of the duplicated mode parsing logic in m_namedmodes
* | Remove redundant IS_LOCAL() checks discovered by static assertsGravatar Attila Molnar2014-04-261-1/+1
| |
* | m_override Deduplicate codeGravatar Attila Molnar2014-04-031-51/+19
| |
* | Merge insp20Gravatar Attila Molnar2014-01-211-1/+18
|\|
| * Fix m_override refusing to override modes if the user holds halfop or higher ↵Gravatar Daniel Vassdal2013-12-141-1/+18
| | | | | | | | in the channel
* | Stop null checking pointers that are always validGravatar Attila Molnar2014-01-091-1/+1
| |
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-4/+2
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
| |
* | Replace hardcoded mode letters, part 2Gravatar attilamolnar2013-07-191-4/+15
| | | | | | | | This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-8/+8
| | | | | | | | | | - 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.
* | Add method for writing server notices.Gravatar Peter Powell2013-05-141-4/+4
| | | | | | | | | | | | | | | | | | This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name.
* | OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*Gravatar attilamolnar2013-04-131-2/+2
| |
* | Remove the deprecated invite APIGravatar attilamolnar2013-04-131-2/+1
| |
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-2/+2
| |
* | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()Gravatar attilamolnar2013-04-101-4/+4
| |
* | Change channel name parameter of Module::OnUserPreJoin() and ↵Gravatar attilamolnar2013-04-011-9/+9
|/ | | | Channel::JoinUser() to std::string from char*
* 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-2/+2
|
* ServerConfig::ServerName is a std::string, don't call .c_str() on it when ↵Gravatar attilamolnar2012-11-191-4/+4
| | | | passing it to Channel::WriteChannelWithServ, etc.
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-5/+3
|
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-3/+3
|
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-301-1/+1
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* Updated the version lines on several modules.Gravatar Shawn Smith2012-07-061-2/+2
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+21
|
* Make remote/local snomasks consistent and allow use without namingGravatar danieldg2010-02-251-13/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12568 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't send GODMODE snomask for remote users (let SendGlobalSno handle that)Gravatar danieldg2010-02-071-5/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12392 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up some slow iterationsGravatar danieldg2010-01-191-22/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12300 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
* Hide channel mode structuresGravatar danieldg2009-11-151-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12132 e03df62e-2008-0410-955e-edbf42e46eb7
* Change User::oper to an OperInfo referenceGravatar danieldg2009-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11945 e03df62e-2008-0410-955e-edbf42e46eb7
* Move all local-only fields to LocalUserGravatar danieldg2009-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11944 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove dummy API_VERSION from Version constructorGravatar danieldg2009-10-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
* Update Event and Request APIsGravatar danieldg2009-10-081-18/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of a bunch of memory-wasting C-style stringsGravatar danieldg2009-10-031-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-4/+3
| | | | 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
* Replace OnAccessCheck with OnPreMode to remove a number of redundant checksGravatar danieldg2009-09-131-114/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11700 e03df62e-2008-0410-955e-edbf42e46eb7
* Module API changes to use Membership* where sensibleGravatar danieldg2009-09-131-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11699 e03df62e-2008-0410-955e-edbf42e46eb7
* Membership* changesGravatar danieldg2009-09-131-11/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7
* Likewise, convert OnLocalTopicChange to OnPreTopicChange and to be run for ↵Gravatar w00t2009-09-051-3/+3
| | | | | | both local and remote changes, for API consistency. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11678 e03df62e-2008-0410-955e-edbf42e46eb7
* ModResult conversion: Change return type of all module functionsGravatar danieldg2009-09-021-22/+21
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
* override: pass handling back to the core to send numerics if join ↵Gravatar w00t2009-08-271-4/+4
| | | | | | restrictions apply. Thanks to webczat for (eventually) being able to communicate what the problem was. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11540 e03df62e-2008-0410-955e-edbf42e46eb7
* Change m_override to send snomasks globallyGravatar danieldg2009-06-021-7/+7
| | | | | | | This uses "G" for both local and global; "g" is already taken by globops. Fixes bug #860. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11399 e03df62e-2008-0410-955e-edbf42e46eb7