aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/capab.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+7
|
* Fix space separation for CAPAB module listGravatar linuxdaemon2019-05-151-7/+6
|
* Add an enumeration for known protocol versions.Gravatar Peter Powell2019-05-141-16/+17
|
* Add translation for casemapping between 2.0/3.0 (#1544)Gravatar linuxdaemon2019-01-241-0/+9
| | | | If the casemapping is set to ascii, advertise the m_ascii module to 2.0 to allow use of the m_ascii extras module for 2.0
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Gravatar Peter Powell2018-12-121-1/+1
| | | | | | | The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting.
* Also synchronise the prefix rank between servers.Gravatar Peter Powell2018-10-281-3/+3
|
* Fix a shadowing warning in the spanningtree module.Gravatar Peter Powell2018-10-271-2/+2
|
* Improve CAPAB negotiation in the spanningtree module.Gravatar Peter Powell2018-10-271-30/+50
| | | | | | | | | | | | | | | | | | | | | | | | - Remove the CHANMODES, USERMODES, and PREFIX tokens in the 1205 protocol. These have entirely been superceded by the CHANMODES and USERMODES CAPAB commands. - Only compare the 1202 PREFIX tokens if the remote server did not send CAPAB CHANMODES. This replicates the existing behaviour used for the CHANMODES token. - Fix checking whether the remote server has an appropriate case mapping. If it is not sent we assume it is the same as the local server as always. This should prevent issues with people using services packages that do not send this token yet. - Fix checking if the user modes are mismatched and then promptly overwriting the error message with mismatched channel modes. - Fix servers not being able to tell whether a mode on the remote server is a prefixless prefix mode. Requires the 1205 protocol. - Fix servers that receive CAPAB CHANMODES or CAPAB USERMODES not checking the type of those modes. Requires the 1205 protocol.
* Parse CAPAB CAPABILITIES and FJOIN messages with spacesepstream.Gravatar Peter Powell2018-08-101-1/+1
| | | | Special tokenisation rules are not necessary here.
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-301-2/+5
|
* Replace irc::stringjoiner with a generic stdalgo::string::join.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This can also be used with different types of collection containing values which are not a string.
* 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.
* Implement support for configurable casemapping & default to ASCII.Gravatar Peter Powell2017-09-081-0/+19
|
* Bump version to 3.0 in comments and messagesGravatar Attila Molnar2016-09-021-1/+1
|
* Replace loop over alphabet with loop over mode list in several placesGravatar Attila Molnar2016-08-301-13/+11
|
* m_spanningtree Add compatibility hack that allows modules to drop the ↵Gravatar Attila Molnar2016-01-061-1/+26
| | | | | | VF_COMMON/VF_OPTCOMMON flags Include m_watch in the list
* capab: m_kicknorejoin: Don't advertise upper bound to 2.0 serversGravatar Daniel Vassdal2015-02-221-0/+5
|
* Reduce std::string::substr() usageGravatar Attila Molnar2015-01-101-2/+2
| | | | substr() returns a new string while erase() and assign() modify the existing one
* Merge insp20Gravatar Attila Molnar2014-07-251-1/+7
|\
| * Update example configuration files, fix typos and caseGravatar Attila Molnar2014-07-241-1/+1
| | | | | | | | Mention m_regex_stdlib in the list of regex providers after m_filter
| * m_spanningtree Advertise the availability of m_globops in CAPAB CAPABILITIESGravatar Attila Molnar2014-04-291-0/+6
| |
* | Change all occurrences of plain sort() to std::sort()Gravatar Attila Molnar2014-06-221-1/+1
| |
* | m_spanningtree Don't rely on "m_sha256.so" being loaded, use any ↵Gravatar Attila Molnar2014-04-081-3/+3
| | | | | | | | "hash/sha256" service provider
* | m_spanningtree Remove the (now) undocumented disablehmac config optionGravatar Attila Molnar2014-04-081-2/+2
| |
* | Make the maximum hostname length configurable in the config.Gravatar Peter Powell2014-03-081-0/+1
| |
* | Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to ↵Gravatar Attila Molnar2014-02-181-4/+4
| | | | | | | | ModeType
* | Convert irc::stringjoiner to be a method instead of a class.Gravatar Peter Powell2014-02-061-2/+1
| | | | | | | | Add separator parameter
* | Remove whitespace and minor style changesGravatar Attila Molnar2014-01-231-1/+0
| |
* | Fix a few issuesGravatar attilamolnar2013-11-211-1/+1
| | | | | | | | | | | | | | | | | | - Rehash notices - Modes in CAPAB - GetTargetAndAction() not being static in m_callerid - Loading custom configuration files using --config. (@SaberUK) - ServerConfig::Read not using std::endl. (@SaberUK) - Out of date comments in opers.conf.example, issue #624
* | Move prefix mode specific fields and getters into PrefixModeGravatar attilamolnar2013-09-111-3/+6
| | | | | | | | Add ModeHandler::IsPrefixMode()
* | Remove ModuleManager::GetAllModuleNames(), use GetModules() insteadGravatar attilamolnar2013-08-301-6/+7
| |
* | Simplify stringjoiner: take 1 parameter, join from begin() to end() and use ↵Gravatar attilamolnar2013-06-121-1/+1
| | | | | | | | space as the sep char
* | m_spanningtree Bump protocol version and remove unused CAPAB CAPABILITIES ↵Gravatar attilamolnar2013-04-131-19/+23
| | | | | | | | entries
* | m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-2/+0
| |
* | m_spanningtree atoi() to ConvToInt() conversion, add const where possibleGravatar attilamolnar2013-04-121-2/+2
| | | | | | | | Remove two redundant functions from Utils
* | Fix linker error when linking spanningtree caused by ↵Gravatar Adam2013-04-011-3/+0
| | | | | | | | 56cae0f3a484cbcb20569b68917f1810a0c2f4a4
* | Remove legacy code, mostly related to 1.2 compatibilityGravatar attilamolnar2013-04-011-13/+8
|/
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-2/+2
|
* m_spanningtree Use iterators in CAPAB handler and when generating reply to ↵Gravatar attilamolnar2012-10-021-4/+4
| | | | spanningtree related /stats, use std::find() in TreeServer::DelChild()
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+16
|
* Send HALFOP= line in CAPAB CAPABILITIES for 1201 compat (anope relies on this)Gravatar Daniel De Graaf2010-05-081-0/+2
|
* Replace #define IPV6 with <config defaultbind="ipv6">, and autodetect if not ↵Gravatar danieldg2010-02-231-5/+0
| | | | | | specified git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up treesocket naming confusion by adding a link block reference during ↵Gravatar danieldg2010-02-131-3/+3
| | | | | | negotiation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12452 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typoGravatar danieldg2010-02-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12417 e03df62e-2008-0410-955e-edbf42e46eb7
* Sort CAPAB CHANMODES and USERMODESGravatar danieldg2010-02-091-9/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12416 e03df62e-2008-0410-955e-edbf42e46eb7
* Add random number generation functions to InspIRCd class.Gravatar danieldg2010-02-091-1/+1
| | | | | | | Default implementation uses libc random(), which can be better than rand(). If gnutls is loaded, gcrypt will be used to provide random numbers. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12404 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix error message on OPTCOMMON mismatchGravatar danieldg2010-02-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12403 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix left/right inversion in ListDifferenceGravatar danieldg2010-02-061-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12389 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix use of commasepstream on now space-separated itemsGravatar danieldg2010-01-161-20/+21
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12272 e03df62e-2008-0410-955e-edbf42e46eb7