aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_nicklock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-2/+2
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-4/+4
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-4/+4
| | | | GCCs warnings for this are much better than Clangs.
* Convert uncontroversial anonymous numerics to use constants.Gravatar Peter Powell2017-09-061-3/+11
|
* Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-121-1/+1
| | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* Simplify GetRouting() methods doing unicastGravatar Attila Molnar2016-03-291-8/+2
|
* Add User::WriteRemoteNumeric() and switch code using SendText() to send ↵Gravatar Attila Molnar2016-02-251-4/+2
| | | | numerics to it
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-2/+2
| | | | parameters
* Convert mods calling the old compat wrapper of ModuleManager::SetPriority() ↵Gravatar Attila Molnar2015-02-151-1/+1
| | | | to use the current method, remove wrapper
* Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+3
|
* Remove now needless User::ForceNickChange()Gravatar Attila Molnar2014-07-031-1/+1
| | | | Change call sites to call ChangeNick()
* Change the type of the user parameter in the OnUserPreNick() hook from User ↵Gravatar Attila Molnar2014-06-201-4/+1
| | | | | | | | to LocalUser No remote users were passed to this hook before. Remove needless IS_LOCAL() checks.
* Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-2/+2
| | | | automatically
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-7/+0
|
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-1/+0
|
* 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
|
* Merge insp20Gravatar attilamolnar2013-06-061-1/+1
|\
| * m_nicklock Fix wrong hook in SetPriority()Gravatar attilamolnar2013-05-231-1/+1
| |
* | Change the signature of User::ForceNickChange() to accept const std::string& ↵Gravatar attilamolnar2013-05-181-1/+1
| | | | | | | | instead of const char*
* | Get rid of the NICKForced extensionGravatar attilamolnar2013-05-181-3/+0
| | | | | | | | Don't run OnUserPreNick when the nick change is forced
* | Remove the size argument from IsChannel and IsNick.Gravatar Peter Powell2013-05-181-1/+1
| | | | | | | | | | There was only one case (which was probably an error) where these methods were not set to their ServerLimits value.
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-3/+3
| | | | | | | | | | - 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-3/+3
| | | | | | | | | | | | | | | | | | 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.
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+0
| |
* | Change IsNickHandler()/IsIdentHandler()/IsChannelHandler() to use C++ ↵Gravatar attilamolnar2013-04-011-1/+1
|/ | | | strings as arguments instead of C strings
* Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ↵Gravatar attilamolnar2012-12-151-1/+1
| | | | | | 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
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-021-3/+3
| | | | AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-0/+4
|
* m_nicklock Fix typoGravatar attilamolnar2012-10-231-2/+2
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
|
* Fix NICKLOCK/SANICK errors with Q:lined nicksGravatar danieldg2010-02-051-31/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12378 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow nick locking to prevent voluntary changes to UIDGravatar danieldg2010-01-241-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12322 e03df62e-2008-0410-955e-edbf42e46eb7
* Change more modules to VF_OPTCOMMON and assert identical charsets in ↵Gravatar danieldg2010-01-171-1/+1
| | | | | | m_nationalchars git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12277 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
* 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
* Move static map of extensions into ServerInstance, add const-correctnessGravatar danieldg2009-10-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7
* Move 2 static extensibles from user class to inspircd class for global ↵Gravatar peavey2009-10-111-1/+1
| | | | | | access in an attempt to further fix windows build. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11838 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
* Clean up Command constructorGravatar danieldg2009-09-131-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove redundant ServerInstance* fieldsGravatar danieldg2009-09-131-2/+2
| | | | | | | | 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
* Change Extensible to use strongly typed entriesGravatar danieldg2009-09-131-31/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7
* ModResult conversion: Change return type of all module functionsGravatar danieldg2009-09-021-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Module* creator to Command and ModeHandlerGravatar danieldg2009-09-021-7/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
* Update NICKLOCK to route using unicastGravatar danieldg2009-09-021-33/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11603 e03df62e-2008-0410-955e-edbf42e46eb7
* Change allocation of commands/modesGravatar danieldg2009-09-021-8/+5
| | | | | | | | | | 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
* don't send out global snotices from every server on NICKUNLOCK, fixes bug ↵Gravatar dz2009-07-261-3/+2
| | | | | | #892 reported by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11444 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for some modules sending global snotices at each individual server in a ↵Gravatar aquanight2009-05-131-1/+1
| | | | | | server path. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11374 e03df62e-2008-0410-955e-edbf42e46eb7
* Globally route "a" snotices for more modules. Patch from Milliways.Gravatar danieldg2009-05-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352 e03df62e-2008-0410-955e-edbf42e46eb7