summaryrefslogtreecommitdiff
path: root/src/modules/m_override.cpp
AgeCommit message (Collapse)Author
2021-03-05Update copyright headers.InspIRCd Robot
2021-02-26Update copyright headers.InspIRCd Robot
2020-11-22Improve the message sent when overriding channel modes.satmd
Ref: #1816.
2020-07-29Replace all erroneous space indentation with tab indentation.Sadie Powell
2020-04-10Update the module descriptions using mkversion.Sadie Powell
2020-01-31Update copyright headers.InspIRCd Robot
2020-01-29Add Channel::WriteRemoteNotice and revert WriteNotice changes.Sadie Powell
This is a partial reversion of 687778b72e. See also: #1749.
2020-01-11Update copyright headers.InspIRCd Robot
2017-12-11Add optional oper override umode +O.B00mX0r
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-11-06Add support for setting the unset rank in ModeHandler.Peter Powell
2017-07-09Merge v2.0.23 and v2.0.24 into master.Peter Powell
2017-05-17m_override: fix parentheses compiler warningAdam
2016-12-10fix channel rank issueSheogorath
2016-03-05Send NOTICEs to local channel members with Channel::WriteNotice()Attila Molnar
2015-11-02Rewrite invite systemAttila Molnar
- 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
2014-09-04Pass Modes::ChangeList references to the OnPreMode hook, make it modifiableAttila Molnar
This gets rid of the duplicated mode parsing logic in m_namedmodes
2014-04-26Remove redundant IS_LOCAL() checks discovered by static assertsAttila Molnar
2014-04-03m_override Deduplicate codeAttila Molnar
2014-01-21Merge insp20Attila Molnar
2014-01-09Stop null checking pointers that are always validAttila Molnar
2013-12-14Fix m_override refusing to override modes if the user holds halfop or higher ↵Daniel Vassdal
in the channel
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-04Automatically attach modules to eventsattilamolnar
2013-07-19Replace hardcoded mode letters, part 2attilamolnar
This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-05-15Tidy up keywords on module methods.Peter Powell
- 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.
2013-05-14Add method for writing server notices.Peter Powell
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.
2013-04-13OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*attilamolnar
2013-04-13Remove the deprecated invite APIattilamolnar
2013-04-11Convert ISUPPORT to use a map instead of a string.Peter Powell
2013-04-10Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()attilamolnar
2013-04-01Change channel name parameter of Module::OnUserPreJoin() and ↵attilamolnar
Channel::JoinUser() to std::string from char*
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-12-02Attach to events and register services in init()attilamolnar
2012-11-19ServerConfig::ServerName is a std::string, don't call .c_str() on it when ↵attilamolnar
passing it to Channel::WriteChannelWithServ, etc.
2012-11-12Remove usage of the deprecated ConfigReaderattilamolnar
2012-10-12Remove superfluous std::string()sattilamolnar
2012-09-30Fix more undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
2012-07-06Updated the version lines on several modules.Shawn Smith
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-02-25Make remote/local snomasks consistent and allow use without namingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12568 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-07Don't send GODMODE snomask for remote users (let SendGlobalSno handle that)danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12392 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-19Clean up some slow iterationsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12300 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-15Hide channel mode structuresdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12132 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Change User::oper to an OperInfo referencedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11945 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Move all local-only fields to LocalUserdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11944 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Remove dummy API_VERSION from Version constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08Update Event and Request APIsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7