aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-3/+3
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Convert AWAY to use cross-module events and clean up slightly.Gravatar Peter Powell2018-08-121-4/+9
| | | | | | | OnSetAway has been replaced with four events. OnUserPreAway and OnUserPreBack can be used to deny an away state change and/or change the away message of a local user. OnUserAway and OnUserBack allow modules to be notified that a user's away state has changed.
* Replace most usages of "name" with "real" or "real name".Gravatar Peter Powell2018-07-301-1/+1
|
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-301-2/+2
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-3/+3
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Fix building on Windows.Gravatar Peter Powell2018-07-241-0/+2
|
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-181-1/+7
|
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-1/+1
|
* Move OnStats from the core to a cross-module event.Gravatar Peter Powell2018-04-081-1/+4
| | | | | 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-061-11/+11
| | | | | | | | | | | | | - 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.
* Rename the spanningtree module header to server.Gravatar Peter Powell2017-12-031-3/+3
| | | | | In the future we will have server linking modules that are not the spanningtree module.
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-4/+4
|
* 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
|
* m_spanningtree Refuse topic changes that would result in desyncGravatar Attila Molnar2016-09-021-0/+13
| | | | This is a workaround until the protocol is updated
* m_spanningtree Drop unnecessary c_str() call when passing Link::Name to ↵Gravatar Attila Molnar2016-08-261-1/+1
| | | | methods expecting std::string
* spanningtree: use bindip aftype as a hint for dns lookup typeGravatar Adam2016-08-251-1/+9
|
* m_spanningtree Use ASCII case insensitive map for matching server namesGravatar Attila Molnar2016-08-221-3/+3
|
* m_spanningtree Change type of Link::Name to std::stringGravatar Attila Molnar2016-08-221-2/+2
| | | | Switch to stdalgo::string::equalsci()
* 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 Call the OnServerSplit hook from the OnUnloadModule() handler ↵Gravatar Attila Molnar2016-04-251-0/+16
| | | | on unload
* m_spanningtree Remove PUSH handlerGravatar Attila Molnar2016-03-301-1/+1
|
* m_spanningtree Add NUM command handlerGravatar Attila Molnar2016-03-291-1/+1
|
* m_spanningtree Remove ModuleSpanningTree::RemoteMessage()Gravatar Attila Molnar2016-03-011-13/+0
| | | | This method is no longer used, replacement is User::WriteRemoteNotice()
* Send NOTICEs that can go to both local and remote users with ↵Gravatar Attila Molnar2016-03-011-4/+4
| | | | User::WriteRemoteNotice()
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-7/+6
| | | | parameters
* m_spanningtree Change allocation of ModuleSpanningTree::commands to be ↵Gravatar Attila Molnar2015-12-061-3/+1
| | | | physically part of the object containing it
* Add minimum channel rank and exception list parameters to the OnUserInvite hookGravatar Attila Molnar2015-12-061-1/+1
|
* m_spanningtree Clean up commentsGravatar Attila Molnar2015-05-131-9/+7
|
* Convert the spanningtree events to use the new cross-module event systemGravatar Attila Molnar2015-02-111-0/+1
|
* m_spanningtree Rewrite PING logic to use TimersGravatar Attila Molnar2015-01-251-59/+0
|
* m_spanningtree Send MODE/FMODE from the OnMode hookGravatar Attila Molnar2014-09-031-0/+28
| | | | If the MODE_LOCALONLY flag is set the mode change is not propagated
* m_spanningtree Squit dead servers immediately when they die, not at the next ↵Gravatar Attila Molnar2014-07-281-6/+0
| | | | timer tick
* m_spanningtree Remove the now needless SplitInProgress workaroundGravatar Attila Molnar2014-07-281-1/+0
|
* m_spanningtree Check TreeServer::IsDead() to learn whether a user is being ↵Gravatar Attila Molnar2014-07-281-1/+2
| | | | quit due to a netsplit in OnUserQuit()
* m_spanningtree Move squit logic into TreeServer from TreeSocketGravatar Attila Molnar2014-07-281-1/+1
|
* m_spanningtree Remove post-handshake BURST handlerGravatar Attila Molnar2014-07-271-1/+1
|
* m_spanningtree Warn instead of sending SAVE if we change the nick of a ↵Gravatar Attila Molnar2014-07-261-5/+2
| | | | non-local user outside of a command handler
* Merge insp20Gravatar Attila Molnar2014-07-251-0/+3
|\
| * m_spanningtree Fix cleanup of connections when unloading a module that ↵Gravatar Attila Molnar2014-06-061-0/+3
| | | | | | | | provides an IOHook
* | m_spanningtree Remove the MAP ISUPPORT tokenGravatar Attila Molnar2014-07-201-5/+0
| | | | | | | | No other servers send this token and sending it has little to no benefit
* | Access local user list via new UserManager::GetLocalUsers() and make ↵Gravatar Attila Molnar2014-07-191-2/+2
| | | | | | | | local_users private
* | Move and rename typedef LocalUserList to UserManager::LocalListGravatar Attila Molnar2014-07-191-4/+4
| |
* | Erase local users from UserManager::local_list in QuitUser()Gravatar Attila Molnar2014-07-191-0/+2
| |
* | Rename UserChanList to User::ChanList, remove UCListIterGravatar Attila Molnar2014-07-141-1/+1
| |
* | m_spanningtree Replace manual string building of outgoing commands with ↵Gravatar Attila Molnar2014-07-031-1/+1
| | | | | | | | CmdBuilder where possible
* | m_spanningtree Share server description updates via SINFO descGravatar Attila Molnar2014-06-171-0/+10
| |
* | m_spanningtree Remove server-to-server VERSION handlerGravatar Attila Molnar2014-06-171-1/+1
| |
* | m_spanningtree Show the full version string of servers to opersGravatar Attila Molnar2014-06-171-1/+7
| | | | | | | | Issue #637, suggested by @CuleX
* | m_spanningtree Add server-to-server SINFO command handler and builderGravatar Attila Molnar2014-06-171-1/+1
| | | | | | | | Don't send SINFO to 1202 protocol servers