aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_remove.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
|
* Use ERR_RESTRICTED when an action can't be done even with privileges.Gravatar Sadie Powell2022-04-121-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
|
* Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-2/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
|
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
|
* Add Channel::WriteRemoteNotice and revert WriteNotice changes.Gravatar Sadie Powell2020-01-291-1/+1
| | | | | | This is a partial reversion of 687778b72e. See also: #1749.
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+10
|
* Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-1/+1
|
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-4/+4
|
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-2/+2
|
* Fix a bunch more conflicting/unnamed numerics.Gravatar Peter Powell2018-08-141-1/+1
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-7/+7
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-1/+1
|
* Fixed misc. instances of ERR_NOSUCHNICK instead of channel numericsGravatar B00mX0r2017-12-221-2/+7
| | | | Per #1122
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-2/+2
| | | | GCCs warnings for this are much better than Clangs.
* Bump version to 3.0 in comments and messagesGravatar Attila Molnar2016-09-021-1/+1
|
* Send NOTICEs to local channel members with Channel::WriteNotice()Gravatar Attila Molnar2016-03-051-1/+1
|
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-3/+3
| | | | parameters
* Convert remaining NOTICEs implemented using WriteServ() to WriteNotice()Gravatar Attila Molnar2015-12-291-2/+2
|
* m_remove Make the protected rank configurable instead of hardcoding it to 50000Gravatar Attila Molnar2014-06-091-6/+9
| | | | Change type of ulevel and tlevel to unsigned int
* m_remove Recognize /REMOVE <chan> <nick>Gravatar Attila Molnar2014-06-091-2/+5
| | | | | | The old syntax is now deprecated Fixes issue #860 reported by @Shawn-Smith
* m_remove Manually forward all REMOVE messages, turn FPART into REMOVEGravatar Attila Molnar2014-06-091-18/+12
|
* Merge insp20Gravatar Attila Molnar2014-01-211-1/+4
|\
| * Use FindNickOnly() in a few more places if a local user is performing an ↵Gravatar Attila Molnar2014-01-191-1/+4
| | | | | | | | action to prevent UID walking
* | Introduce Server classGravatar Attila Molnar2014-01-051-1/+1
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-3/+3
| | | | | | | | automatically
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-6/+0
| |
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-2/+1
| | | | | | | | | | | | 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-14/+16
| | | | | | | | 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
| |
* | Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-131-2/+2
| |
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-5/+5
| | | | | | | | | | - 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-1/+1
| | | | | | | | | | | | | | | | | | 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.
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-2/+2
| |
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-7/+0
|/
* Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ↵Gravatar attilamolnar2012-12-151-2/+2
| | | | | | target nickname If a SID was passed as the target user parameter or when it's an unregistered user reply with the "no such nick" (or the moral equivalent) message
* m_remove Fix potential desync caused by committing the PART before getting ↵Gravatar attilamolnar2012-12-021-0/+4
| | | | acknowledgement from the target server
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-021-2/+2
| | | | 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-1/+4
|
* m_remove CleanupGravatar attilamolnar2012-11-191-15/+8
| | | | | - Command handler concatenates when maxparams is specified, don't do it ourselves - String references to user and channel names are fine, no need for .c_str()
* ServerConfig::ServerName is a std::string, don't call .c_str() on it when ↵Gravatar attilamolnar2012-11-191-1/+1
| | | | passing it to Channel::WriteChannelWithServ, etc.
* m_remove, m_services_account Don't check whether nicks are u-lined, checking ↵Gravatar attilamolnar2012-11-191-1/+2
| | | | the server is enough
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-2/+1
|
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-1/+1
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+19
|
* m_remove: forbid removing ulined usersGravatar Justasic2012-02-251-0/+5
|