aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fjoin.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* | m_spanningtree Throw an exception on protocol violations instead of returning...•••Catch CoreExceptions, log and close the link in OnDataReady() Gravatar Attila Molnar2014-04-161-10/+5
* | Add ModeParser::GetModes(), returns all user/chanmodesGravatar Attila Molnar2014-02-221-4/+4
* | Unset all extensions and the topic when lowering TS on a channelGravatar Attila Molnar2014-01-061-10/+30
* | Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-4/+4
* | Merge insp20Gravatar attilamolnar2013-08-301-4/+28
|\|
| * m_spanningtree FJOIN handler: Merge and take maxmodes into consideration when...Gravatar attilamolnar2013-06-121-5/+24
* | m_spanningtree Change TreeServer::GetSocket() to always return the socket tha...•••The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers Gravatar attilamolnar2013-08-221-1/+1
* | m_spanningtree Move all server-to-server command handlers into handler classes•••These commands are not registered in or called by the core. When looking for the handler of a command a new command table is searched first which contains all server-to-server commands. If a handler cannot be found in there, the core command table is consulted. Gravatar attilamolnar2013-08-181-1/+1
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-2/+0
* | Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them. Gravatar Peter Powell2013-08-041-1/+1
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicat...•••Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.) Gravatar attilamolnar2013-06-131-2/+2
* | Deduplicate RemoveMode() implementations•••The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory Gravatar attilamolnar2013-05-271-1/+1
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-1/+1
* | Channel::JoinUser() and Channel::ForceChan() changes•••Convert static Channel::ForceChan() to non-static Channel::ForceJoin() that joins a user to a channel, no permission checks The (static) Channel::JoinUser() now has a LocalUser parameter, and no longer have TS and bursting parameters. If the channel doesn't exist, it is created using current time as TS Gravatar attilamolnar2013-04-131-1/+1
* | m_spanningtree FJOIN handler: Refactor, update doc•••Split the core function into several smaller functions Accept userlist entries having no comma at all Gravatar attilamolnar2013-04-121-129/+120
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-3/+3
* | Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUse...Gravatar attilamolnar2013-04-011-1/+1
|/
* m_spanningtree Fix incoming channel modes being lost for 0-user permanent cha...•••This did not affect listmodes Gravatar attilamolnar2013-03-201-0/+8
* m_spanningtree Remove redundant params.size() checks•••TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters Gravatar attilamolnar2012-11-281-2/+0
* Fix pending invites not being removed when a channel was deleted or had its T...Gravatar attilamolnar2012-06-171-0/+1
* Debian typo fixes.Gravatar Peter Powell2012-05-251-2/+2
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Log mode errors when processing FJOIN.Gravatar Robin Burchell2012-04-181-3/+5
* Fix unused variables reported by the clang static analyzer.Gravatar Peter Powell2012-04-141-1/+0
* Use the remote channel's capitalization on a losing TS mergeGravatar Daniel De Graaf2010-08-031-2/+4
* Move lots of spanningtree items to commands•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-181-20/+11
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Make User::uuid and User::server const•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-231-15/+12
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-4/+4
* Create StreamSocket for IO hooking implementation•••Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-211-4/+4
* Replace std::deque with std::vector in spanningtree and related modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-15/+11
* Fix build of m_spanningtree and display of dependency regeneration•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-3/+3
* Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree•••This makes it possible to determine which server initiated a mode change, instead of having only a flag saying that some server did. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11379 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-3/+3
* Actually use irc::modestacker correctly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11322 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-201-7/+4
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* An FJOIN is not bursting unless the source server is bursting•••Fixes bug #755 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11188 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-091-1/+1
* Remove some unneeded debug messages on the common case of FJOIN•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11183 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-071-3/+3
* Revert "Don't apply channel modes received in an non-burst, non-creation FJOI...•••This keeps the protocol closer to TS6 behavior. The mode sync in the FJOIN is used to resync channel modes after a desync caused by modes crossing on the wire. In the future, an alternate join command will be used to prevent MODExJOIN desync without rejecting modes from an FJOIN. This reverts commit 4820e6bb9578e53ea1553070108599349d0ffbcb. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11163 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-021-19/+5
* Don't apply channel modes received in an non-burst, non-creation FJOIN, becau...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11162 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-021-5/+19
* Fix merge FJOIN debug message•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11078 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-02-091-1/+2
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Fire every debug.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10786 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-021-1/+1
* Fix a result of Tired Coding (tm)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10774 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-011-1/+1
* It is not my %$"*&%" day. This never happened.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10773 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-311-1/+1
* Tidy up FJOIN processing somewhat - don't bother faking a TS to get modes acc...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10772 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-311-14/+23
* Remove outdated TODO•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10641 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-10-141-2/+0
* Update comment that says we dont send simplemodes in FJOIN, we do now.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10635 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-10-101-7/+0
* Be consistent. Use ServerInstance in all places instead of 'Instance' in half...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-211-18/+18
* fixed some indentation and spacing in modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar pippijn2008-06-111-3/+3
* Give modestacker a serverinstance•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9806 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-251-1/+1