aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/capab.cpp
Commit message (Expand)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)•••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.0Gravatar linuxdaemon2019-01-241-0/+9
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.•••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. Gravatar Peter Powell2018-12-121-1/+1
* 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.•••- 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. Gravatar Peter Powell2018-10-271-30/+50
* Parse CAPAB CAPABILITIES and FJOIN messages with spacesepstream.•••Special tokenisation rules are not necessary here. Gravatar Peter Powell2018-08-101-1/+1
* 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.•••This can also be used with different types of collection containing values which are not a string. Gravatar Peter Powell2018-07-261-1/+1
* 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-1/+1
* 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 VF_COMM...•••Include m_watch in the list Gravatar Attila Molnar2016-01-061-1/+26
* capab: m_kicknorejoin: Don't advertise upper bound to 2.0 serversGravatar Daniel Vassdal2015-02-221-0/+5
* Reduce std::string::substr() usage•••substr() returns a new string while erase() and assign() modify the existing one Gravatar Attila Molnar2015-01-101-2/+2
* Merge insp20Gravatar Attila Molnar2014-07-251-1/+7
|\
| * Update example configuration files, fix typos and case•••Mention m_regex_stdlib in the list of regex providers after m_filter Gravatar Attila Molnar2014-07-241-1/+1
| * 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 "hash/sha256...Gravatar Attila Molnar2014-04-081-3/+3
* | 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 Mo...Gravatar Attila Molnar2014-02-181-4/+4
* | Convert irc::stringjoiner to be a method instead of a class.•••Add separator parameter Gravatar Peter Powell2014-02-061-2/+1
* | Remove whitespace and minor style changesGravatar Attila Molnar2014-01-231-1/+0
* | Fix a few issues•••- 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 Gravatar attilamolnar2013-11-211-1/+1
* | Move prefix mode specific fields and getters into PrefixMode•••Add ModeHandler::IsPrefixMode() Gravatar attilamolnar2013-09-111-3/+6
* | Remove ModuleManager::GetAllModuleNames(), use GetModules() insteadGravatar attilamolnar2013-08-301-6/+7
* | Simplify stringjoiner: take 1 parameter, join from begin() to end() and use s...Gravatar attilamolnar2013-06-121-1/+1
* | m_spanningtree Bump protocol version and remove unused CAPAB CAPABILITIES ent...Gravatar attilamolnar2013-04-131-19/+23
* | m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-2/+0
* | m_spanningtree atoi() to ConvToInt() conversion, add const where possible•••Remove two redundant functions from Utils Gravatar attilamolnar2013-04-121-2/+2
* | Fix linker error when linking spanningtree caused by 56cae0f3a484cbcb20569b68...Gravatar Adam2013-04-011-3/+0
* | 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 sp...Gravatar attilamolnar2012-10-021-4/+4
* 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 ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-231-5/+0
* Clean up treesocket naming confusion by adding a link block reference during ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12452 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-131-3/+3
* Fix typo•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12417 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-091-1/+1
* Sort CAPAB CHANMODES and USERMODES•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12416 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-091-9/+11
* Add random number generation functions to InspIRCd class.•••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 Gravatar danieldg2010-02-091-1/+1
* Fix error message on OPTCOMMON mismatch•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12403 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-091-1/+1
* Fix left/right inversion in ListDifference•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12389 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-061-4/+4
* Fix use of commasepstream on now space-separated items•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12272 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-161-20/+21