aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | m_spanningtree Initialize boolean member variables in the constructor of the ↵Gravatar Attila Molnar2014-06-141-3/+2
| | | | | | | | module
* | m_spanningtree Initialize TreeServer::UserCount for TreeRoot in its constructorGravatar Attila Molnar2014-06-141-3/+0
| |
* | Make the default ProtocolInterface instance part of class InspIRCdGravatar Attila Molnar2014-06-131-2/+1
| | | | | | | | | | The protocol module no longer has to delete it on load and construct it on unload, only assign a new value to ServerInstance->PI
* | m_spanningtree Change allocation of the specialized ProtocolInterface to be ↵Gravatar Attila Molnar2014-06-131-3/+1
| | | | | | | | physically part of ModuleSpanningTree
* | Send the membership id when kicking a remote user and drop KICKs with ↵Gravatar Attila Molnar2014-06-111-0/+3
| | | | | | | | | | | | | | mismatching membership ids This fixes the desync happening when a PART+JOIN crosses a KICK targetting the same user.
* | m_spanningtree Use the FJOIN builder when a channel is createdGravatar Attila Molnar2014-06-111-5/+3
| |
* | m_spanningtree Send, parse and translate IJOINs with membership idsGravatar Attila Molnar2014-06-111-0/+1
| |
* | m_spanningtree Assign an id to new MembershipsGravatar Attila Molnar2014-06-111-1/+6
| |
* | m_spanningtree Initialize membership ids on loadGravatar Attila Molnar2014-06-111-0/+14
| |
* | Add channel TS to server-to-server INVITE to detect and drop unauthorized ↵Gravatar Attila Molnar2014-06-101-0/+1
| | | | | | | | | | | | | | | | | | invites The syntax of the server-to-server INVITE command changes from :<source> INVITE <target> <channel> [<expire>] to :<source> INVITE <target> <channel> <chants> [<expire>]