summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2018-07-03Use !empty() instead of 'size() > 0' when checking parameter count.B00mX0r
2018-04-17Convert some usages of ato[il] to use ConvToNum.Peter Powell
2018-04-16Add ConfigTag::getUInt for reading unsigned config values.Peter Powell
2018-04-16Remove the default value in ConfigTag::get{Duration,Float,Int}.Peter Powell
2018-04-11Change ServerInfo::gecos to descriptiongenius3000
2018-04-08Move OnStats from the core to a cross-module event.Peter Powell
Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later.
2018-01-06Rework message handling.Peter Powell
- 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.
2017-12-19Show server versions in /MAP for opersB00mX0r
This resolves #1203
2017-12-03Move OnSync{Channel,Network,User} to ServerEventListener.Peter Powell
2017-12-03Rename the spanningtree module header to server.Peter Powell
In the future we will have server linking modules that are not the spanningtree module.
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-11-12Merge tag 'v2.0.25' into master.Peter Powell
2017-10-28Hide User#host and User#dhost and use accessors to modify them.Peter Powell
This removes the need to invalidate the cache after changing a user's hostname.
2017-10-27Change SetClientIP to take a C++ string instead of a char array.Peter Powell
2017-10-18Add a constructor to OperInfo and use it to set the type name.Peter Powell
2017-10-15Update wiki links to use HTTPS and point to the correct pages.Peter Powell
When we release 3.0 these links will break as they will point to the pages for 3.0 rather than 2.0.
2017-09-08Implement support for configurable casemapping & default to ASCII.Peter Powell
2017-09-03Convert a bunch of time-related config options to getDuration.Peter Powell
2017-08-27Remove module file extensions from user-visible messages.Peter Powell
2017-08-06Purge code for Windows XP and MSVC pre-2015.Peter Powell
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2016-12-30Clean up User::FormatModes(), rename to GetModeLetters()Attila Molnar
Prefix the returned string with '+'
2016-12-30Deduplicate nickname overruling codeAttila Molnar
Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree
2016-12-07Fix SpanningTreeProtocolInterface::SendChannelPrivmsg() and ↵genius3000
SendChannelNotice() sending statusmsgs to whole channel
2016-09-09Replace snprintf usage with InspIRCd::Format.Peter Powell
2016-09-02Bump version to 3.0 in comments and messagesAttila Molnar
2016-09-02m_spanningtree Allow multiple valid ips for link blocks as a result of ↵Adam
SecurityIPResolver
2016-09-02m_spanningtree Add workaround to make SVS* commands work when using ENCAPAttila Molnar
2016-09-02m_spanningtree Refuse topic changes that would result in desyncAttila Molnar
This is a workaround until the protocol is updated
2016-08-30Replace loop over alphabet with loop over mode list in several placesAttila Molnar
2016-08-29Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolAttila Molnar
2016-08-26m_spanningtree Drop unnecessary c_str() call when passing Link::Name to ↵Attila Molnar
methods expecting std::string
2016-08-25m_spanningtree Handle unload in resolversAttila Molnar
2016-08-25spanningtree: use bindip aftype as a hint for dns lookup typeAdam
2016-08-25core_dns Make question a member of request, move common FindAnswerOfType to ↵Adam
be a member of query
2016-08-24Check for errors after calling IOHookProvider::OnAccept()Attila Molnar
2016-08-22m_spanningtree Use ASCII case insensitive map for matching server namesAttila Molnar
2016-08-22m_spanningtree Change type of Link::Name to std::stringAttila Molnar
Switch to stdalgo::string::equalsci()
2016-08-19m_spanningtree Put command handlers with class names that collide with core ↵Attila Molnar
commands into the SpanningTree namespace This fixes issues in static builds
2016-08-17Merge insp20Attila Molnar
2016-08-08Keep multiple IOHookProvider references in class ListenSocketAttila Molnar
This adds the <bind:hook> config option which works together with <bind:ssl>
2016-08-08Add StreamSocket::GetModHook() for obtaining the IOHook belonging to a given ↵Attila Molnar
module Use it to simplify logic in all modules using or providing IOHooks
2016-08-05Fix challenge auth when using m_hash_gnutls instead of m_sha256.Peter Powell
2016-08-01Fix bursting channel bansAdam
2016-04-28m_spanningtree Send snotice with the negotiated ciphersuite when connected ↵Attila Molnar
using SSL
2016-04-25m_spanningtree Call the OnServerLink hook from TreeServer constructorAttila Molnar
2016-04-25m_spanningtree Call the OnServerSplit hook from TreeServer::SQuitInternal() ↵Attila Molnar
so it runs for all lost servers
2016-04-25m_spanningtree Call the OnServerSplit hook from the OnUnloadModule() handler ↵Attila Molnar
on unload
2016-04-25m_spanningtree Don't try to call the OnServerSplit hook when the module is ↵Attila Molnar
being unloaded