aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
Commit message (Collapse)AuthorAgeFilesLines
* Use !empty() instead of 'size() > 0' when checking parameter count.Gravatar B00mX0r2018-07-031-1/+1
|
* Convert some usages of ato[il] to use ConvToNum.Gravatar Peter Powell2018-04-171-1/+1
|
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-162-2/+2
|
* Remove the default value in ConfigTag::get{Duration,Float,Int}.Gravatar Peter Powell2018-04-161-7/+4
|
* Change ServerInfo::gecos to descriptionGravatar genius30002018-04-112-2/+2
|
* Move OnStats from the core to a cross-module event.Gravatar Peter Powell2018-04-082-2/+6
| | | | | Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later.
* Rework message handling.Gravatar Peter Powell2018-01-062-12/+12
| | | | | | | | | | | | | - Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message.
* Show server versions in /MAP for opersGravatar B00mX0r2017-12-195-1/+24
| | | | This resolves #1203
* Move OnSync{Channel,Network,User} to ServerEventListener.Gravatar Peter Powell2017-12-031-5/+4
|
* Rename the spanningtree module header to server.Gravatar Peter Powell2017-12-033-7/+7
| | | | | In the future we will have server linking modules that are not the spanningtree module.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-213-33/+33
| | | | GCCs warnings for this are much better than Clangs.
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-176-13/+13
|
* Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-121-1/+1
|\
| * Update wiki links to use HTTPS and point to the correct pages.Gravatar Peter Powell2017-10-151-1/+1
| | | | | | | | | | When we release 3.0 these links will break as they will point to the pages for 3.0 rather than 2.0.
| * Fix SpanningTreeProtocolInterface::SendChannelPrivmsg() and ↵Gravatar genius30002016-12-071-5/+10
| | | | | | | | SendChannelNotice() sending statusmsgs to whole channel
* | Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-282-5/+5
| | | | | | | | | | This removes the need to invalidate the cache after changing a user's hostname.
* | Change SetClientIP to take a C++ string instead of a char array.Gravatar Peter Powell2017-10-271-1/+1
| |
* | Add a constructor to OperInfo and use it to set the type name.Gravatar Peter Powell2017-10-181-4/+1
| |
* | Implement support for configurable casemapping & default to ASCII.Gravatar Peter Powell2017-09-081-0/+19
| |
* | Convert a bunch of time-related config options to getDuration.Gravatar Peter Powell2017-09-031-2/+2
| |
* | Remove module file extensions from user-visible messages.Gravatar Peter Powell2017-08-271-1/+1
| |
* | Purge code for Windows XP and MSVC pre-2015.Gravatar Peter Powell2017-08-061-1/+1
| |
* | Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-126-13/+13
| | | | | | | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* | Clean up User::FormatModes(), rename to GetModeLetters()Gravatar Attila Molnar2016-12-301-1/+1
| | | | | | | | Prefix the returned string with '+'
* | Deduplicate nickname overruling codeGravatar Attila Molnar2016-12-301-6/+2
| | | | | | | | Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree
* | Replace snprintf usage with InspIRCd::Format.Gravatar Peter Powell2016-09-091-3/+1
| |
* | Bump version to 3.0 in comments and messagesGravatar Attila Molnar2016-09-023-4/+4
| |
* | m_spanningtree Allow multiple valid ips for link blocks as a result of ↵Gravatar Adam2016-09-021-3/+6
| | | | | | | | SecurityIPResolver
* | m_spanningtree Add workaround to make SVS* commands work when using ENCAPGravatar Attila Molnar2016-09-021-0/+11
| |
* | m_spanningtree Refuse topic changes that would result in desyncGravatar Attila Molnar2016-09-022-0/+14
| | | | | | | | This is a workaround until the protocol is updated
* | Replace loop over alphabet with loop over mode list in several placesGravatar Attila Molnar2016-08-301-13/+11
| |
* | Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolGravatar Attila Molnar2016-08-292-2/+2
| |
* | m_spanningtree Drop unnecessary c_str() call when passing Link::Name to ↵Gravatar Attila Molnar2016-08-263-4/+4
| | | | | | | | methods expecting std::string
* | m_spanningtree Handle unload in resolversGravatar Attila Molnar2016-08-251-1/+7
| |
* | spanningtree: use bindip aftype as a hint for dns lookup typeGravatar Adam2016-08-251-1/+9
| |
* | core_dns Make question a member of request, move common FindAnswerOfType to ↵Gravatar Adam2016-08-251-2/+7
| | | | | | | | be a member of query
* | Check for errors after calling IOHookProvider::OnAccept()Gravatar Attila Molnar2016-08-241-2/+10
| |
* | m_spanningtree Use ASCII case insensitive map for matching server namesGravatar Attila Molnar2016-08-222-4/+4
| |
* | m_spanningtree Change type of Link::Name to std::stringGravatar Attila Molnar2016-08-225-14/+13
| | | | | | | | Switch to stdalgo::string::equalsci()
* | m_spanningtree Put command handlers with class names that collide with core ↵Gravatar Attila Molnar2016-08-193-18/+33
| | | | | | | | | | | | commands into the SpanningTree namespace This fixes issues in static builds
* | Merge insp20Gravatar Attila Molnar2016-08-171-1/+1
|\|
| * Fix challenge auth when using m_hash_gnutls instead of m_sha256.Gravatar Peter Powell2016-08-051-2/+3
| |
| * Fix bursting channel bansGravatar Adam2016-08-012-11/+16
| |
| * Minor spelling errors in m_spanningtree.soGravatar Guillaume Delacour2016-02-282-2/+2
| |
* | Keep multiple IOHookProvider references in class ListenSocketGravatar Attila Molnar2016-08-081-2/+7
| | | | | | | | This adds the <bind:hook> config option which works together with <bind:ssl>
* | Add StreamSocket::GetModHook() for obtaining the IOHook belonging to a given ↵Gravatar Attila Molnar2016-08-081-2/+2
| | | | | | | | | | | | module Use it to simplify logic in all modules using or providing IOHooks
* | m_spanningtree Send snotice with the negotiated ciphersuite when connected ↵Gravatar Attila Molnar2016-04-281-0/+10
| | | | | | | | using SSL
* | m_spanningtree Call the OnServerLink hook from TreeServer constructorGravatar Attila Molnar2016-04-251-1/+2
| |
* | m_spanningtree Call the OnServerSplit hook from TreeServer::SQuitInternal() ↵Gravatar Attila Molnar2016-04-251-2/+3
| | | | | | | | so it runs for all lost servers
* | m_spanningtree Call the OnServerSplit hook from the OnUnloadModule() handler ↵Gravatar Attila Molnar2016-04-251-0/+16
| | | | | | | | on unload