aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_lockserv.cpp
Commit message (Expand)AuthorAgeFilesLines
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-2/+2
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-2/+2
* Convert uncontroversial anonymous numerics to use constants.Gravatar Peter Powell2017-09-061-2/+8
* Allow the reason for locking to be specified in m_lockserv.Gravatar Peter Powell2016-09-161-18/+14
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-2/+2
* Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-2/+2
* Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-2/+2
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-2/+0
* Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-2/+3
* 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
* Tidy up keywords on module methods.•••- 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. Gravatar Peter Powell2013-05-151-5/+5
* Add method for writing server notices.•••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. Gravatar Peter Powell2013-05-141-2/+2
* Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-12/+5
* Register all commands, modes and extensions using AddService()•••AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing Gravatar attilamolnar2012-12-021-2/+2
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-0/+4
* m_lockserv Don't lock/unlock when already locked/unlocked, update messagesGravatar attilamolnar2012-07-071-2/+14
* m_lockserv Remove obsolete comments and unnecessary string clear()sGravatar attilamolnar2012-07-071-4/+2
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
* Change lockserv emergency unlock procedure, and add one for jumpserver [jackm...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12630 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-131-8/+4
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Change module API to use LocalUser* where correct•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-2/+2
* Remove dummy API_VERSION from Version constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-1/+1
* Fix valgrind issues and crashes on exit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11794 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-021-2/+2
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-1/+1
* Describe module purpose in /MODULES output•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-221-1/+1
* Clean up Command constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-7/+5
* Remove CMD_LOCALONLY, enforce use of GetRouting for routed commands•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11671 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-031-2/+2
* ModResult conversion: Change return type of all module functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-5/+5
* Add Module* creator to Command and ModeHandler•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-9/+5
* Change allocation of commands/modes•••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 Gravatar danieldg2009-09-021-8/+5
* OnRehash changes: split to multiple hooks to clarify use and prevent explosio...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-241-1/+1
* Globally route "a" snotices for more modules. Patch from Milliways.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-021-2/+2
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask 'A'...•••Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-04-161-2/+2
* Update all wiki links to point to the new wiki. This was done automatically w...•••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 Gravatar psychon2009-03-151-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Change module versions to use a string instead of fixed digits, and use props...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-251-1/+1
* Fix this one•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9755 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-4/+4
* and now aquanight, you can compile from m_m*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9625 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-05-051-2/+2
* Move QuitUser into UserManager class, and unstaticize it. This prepares for s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-091-1/+1
* Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that OnNumer...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-221-2/+2
* Wheee, mass commit! this adds const stafety, throwing a compile error if anyo...•••copy the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-201-2/+2
* Slight API tweak. Change Command to take char * instead of char in it's const...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8918 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-131-2/+2
* Fix.. snomask O is already taken (ffs) so use A instead•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-171-2/+2
* Remove InspIRCd::WriteOpers in favour of snomask O•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-171-2/+2
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Remove Implements() method from every module. booya.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8536 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-4/+0
* Convert all to new Attach() system. The Implements() method needs removing fr...•••WARNING: there are segfaults here! HERE BE DRAGONS, i am not finished! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8510 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-0/+2
* Another big commit, just to please all my fans out there.. cmd_* -> Command*....•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-211-8/+8