aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sethost.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
|
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Set the minimum length to 1 for most config items with a default.Gravatar Sadie Powell2020-04-091-2/+3
|
* Fix unnecessary inlining in command handler constructors.Gravatar Sadie Powell2020-03-091-1/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+6
|
* Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-1/+1
|
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-1/+1
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Fix some char signedness oversights when using bitsets.Gravatar Peter Powell2018-01-071-2/+2
|
* Use a bitset in chghost/sethost instead of a char array.Gravatar Peter Powell2017-12-231-8/+8
|
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-1/+1
| | | | GCCs warnings for this are much better than Clangs.
* Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-281-1/+1
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* m_sethost: check the length first for consistency with CHGHOST.Gravatar Peter Powell2017-08-161-6/+6
|
* m_sethost: use length() instead of counting in the loop.Gravatar Peter Powell2017-08-161-3/+2
|
* Make the maximum hostname length configurable in the config.Gravatar Peter Powell2014-03-081-1/+1
|
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-5/+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()
* Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵Gravatar attilamolnar2013-08-091-1/+1
| | | | | | ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
* 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
|
* Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-131-1/+0
|
* 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-2/+2
| | | | | | | | | 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-6/+2
|
* Add a flag to Command that controls whether an empty last parameter is ↵Gravatar attilamolnar2012-12-151-5/+2
| | | | allowed or not
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-021-1/+1
| | | | 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
|
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-5/+1
|
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-2/+2
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+16
|
* ...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
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-3/+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
* Clean up Command constructorGravatar danieldg2009-09-131-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove CMD_LOCALONLY, enforce use of GetRouting for routed commandsGravatar danieldg2009-09-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11671 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Module* creator to Command and ModeHandlerGravatar danieldg2009-09-021-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
* Change allocation of commands/modesGravatar danieldg2009-09-021-4/+3
| | | | | | | | | | 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
* These commands do not need to be VF_COMMONGravatar danieldg2009-06-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11410 e03df62e-2008-0410-955e-edbf42e46eb7
* OnRehash changes: split to multiple hooks to clarify use and prevent ↵Gravatar danieldg2009-05-241-2/+2
| | | | | | explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
* Globally route "a" snotices for more modules. Patch from Milliways.Gravatar danieldg2009-05-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵Gravatar w00t2009-04-161-1/+1
| | | | | | | | | 'A' for remote announcements. 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
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. 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
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module versions to use a string instead of fixed digits, and use ↵Gravatar w00t2008-08-251-1/+1
| | | | | | propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to some stuff that writes on memory it shouldn't (thanks psychon).Gravatar w00t2008-07-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10047 e03df62e-2008-0410-955e-edbf42e46eb7
* fixed some indentation and spacing in modulesGravatar pippijn2008-06-111-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
* These doneGravatar brain2008-05-191-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9758 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't propegate SETHOST, ChangeDisplayedHost sends out hostchange anywayGravatar w00t2008-05-051-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9648 e03df62e-2008-0410-955e-edbf42e46eb7