aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
Commit message (Expand)AuthorAgeFilesLines
...
* | Use std::string internally in UIDGenerator, move UUID_LENGTH into the class a...Gravatar attilamolnar2013-04-142-2/+2
* | m_spanningtree Remove redundant first parameter of PING/PONGGravatar attilamolnar2013-04-134-51/+61
* | m_spanningtree Ignore hopcount in incoming SERVER command, always send 0 at b...Gravatar attilamolnar2013-04-133-31/+8
* | m_spanningtree Netburst: If a topic was ever set, send it even if it's empty•••A new but empty topic should override a non-empty old topic Gravatar attilamolnar2013-04-131-1/+4
* | m_spanningtree Add channel timestamp to FTOPICGravatar attilamolnar2013-04-135-7/+39
* | m_spanningtree Add channel timestamp to channel METADATAGravatar attilamolnar2013-04-136-11/+91
* | m_spanningtree Introduce IJOIN and RESYNC•••When a local user joins an existing channel, instead of an FJOIN, send an IJOIN with the channel name being the first parameter. If the joining user received prefix modes, append the channel TS and the prefix mode letters as the second and third parameters. When receiving an IJOIN, first check if the target channel exists. If it does not exist, ignore the join (that is, do not create the channel) and send a RESYNC back to the source. If the channel does exist then join the user, and in case any prefix modes were sent (found in the 3rd parameter), compare the TS of the channel to the TS in the IJOIN (2nd parameter). If the timestamps match, set the modes on the user, otherwise ignore the modes. Outgoing IJOINs to 1202 protocol servers are converted to FJOINs, but the channel mode parameter is left empty ("+"). Gravatar attilamolnar2013-04-134-10/+183
* | m_spanningtree Bump protocol version and remove unused CAPAB CAPABILITIES ent...Gravatar attilamolnar2013-04-132-20/+24
* | 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-132-3/+4
* | m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-1240-155/+9
* | 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-122-133/+127
* | m_spanningtree Netburst: Refactor SendChannelModes()•••Rename it to SyncChannel() and change it to take a Channel* parameter, move iteration into DoBurst() Gravatar attilamolnar2013-04-122-25/+21
* | m_spanningtree Change both prefix and first parameter of SQUIT to be a SIDGravatar attilamolnar2013-04-121-2/+2
* | m_spanningtree Remove encapsulation on UserCount/OperCountGravatar attilamolnar2013-04-126-48/+13
* | m_spanningtree Introduce new function to send channel messages•••Use it from the protocol interface and PRIVMSG/NOTICE handlers Unite OnUserNotice and OnUserMessage code into LocalMessage() Gravatar attilamolnar2013-04-125-100/+45
* | m_spanningtree Change TreeServerList to be a set, get rid of a function dedic...Gravatar attilamolnar2013-04-125-16/+6
* | m_spanningtree Utils: Move code that creates a full line from its components ...Gravatar attilamolnar2013-04-122-19/+22
* | m_spanningtree FTOPIC handler: Keep only one topic if the two topic timestamp...Gravatar attilamolnar2013-04-121-1/+10
* | m_spanningtree FTOPIC handler: Return CMD_FAILURE/CMD_INVALID as appropiate•••Return CMD_FAILURE to prevent propagation when the topic wasn't updated; return CMD_INVALID when the topicts is invalid Gravatar attilamolnar2013-04-121-15/+20
* | m_spanningtree atoi() to ConvToInt() conversion, add const where possible•••Remove two redundant functions from Utils Gravatar attilamolnar2013-04-1212-42/+19
* | m_spanningtree RSQUIT handler: Don't reimplement sending messages to remote u...•••Use ModuleSpanningTree::RemoteMessage instead Gravatar attilamolnar2013-04-122-20/+2
* | m_spanningtree RCONNECT handler: Fix error reporting to remote users•••Describe behavior in comments Gravatar attilamolnar2013-04-121-7/+19
* | m_spanningtree Netburst: Rework SendFJoins()•••Old code sent empty lines on burst after FJOINs, new version fixes that Gravatar attilamolnar2013-04-121-42/+14
* | m_spanningtree Netburst: Remove expiration check from SendXLines()•••XLineManager does the checking Gravatar attilamolnar2013-04-121-7/+3
* | m_spanningtree UID handler: Log and drop the link when a server introduces a ...Gravatar attilamolnar2013-04-121-21/+23
* | m_spanningtree UID handler: Remove dead codeGravatar attilamolnar2013-04-121-11/+5
* | m_spanningtree FMODE handler: Rework•••Check for error conditions before doing any work Get rid of hardcoded maxmodes and a loop that copies a container Gravatar attilamolnar2013-04-121-38/+26
* | m_spanningtree IDLE handler: RewriteGravatar attilamolnar2013-04-121-42/+42
* | Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-1213-43/+13
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-1214-30/+30
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-112-5/+5
* | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()Gravatar attilamolnar2013-04-104-13/+13
* | Move most whois related code from the core into cmd_whoisGravatar attilamolnar2013-04-091-7/+1
* | Migrate u_listmode.h into the core, change +b to use itGravatar attilamolnar2013-04-081-26/+3
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-012-3/+3
* | Merge pull request #452 from SaberUK/master+nuke-hashmap•••Purge the deprecated hash_map from existance.Gravatar Attila Molnar2013-04-011-5/+1
|\ \
| * | Purge the deprecated hash_map from existance.Gravatar Peter Powell2013-04-011-5/+1
* | | Move member variables from User to LocalUser•••- idle_lastmsg - dns_done - quitting_sendq - exempt - lastping Gravatar attilamolnar2013-04-011-1/+2
* | | Convert IsSID() to a static member function, modules shouldn't override itGravatar attilamolnar2013-04-012-2/+2
* | | Fix linker error when linking spanningtree caused by 56cae0f3a484cbcb20569b68...Gravatar Adam2013-04-012-6/+0
|/ /
* | Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUse...Gravatar attilamolnar2013-04-012-2/+2
* | Change User::GetIPString() to return const std::string&Gravatar attilamolnar2013-04-012-2/+2
* | Remove legacy code, mostly related to 1.2 compatibilityGravatar attilamolnar2013-04-014-194/+12
|/
* m_spanningtree Fix incoming channel modes being lost for 0-user permanent cha...•••This did not affect listmodes Gravatar attilamolnar2013-03-201-0/+8
* Remove unused variables detected by Clang 4.2.Gravatar Peter Powell2013-02-012-3/+2
* m_spanningtree Fix rare desync when a KILL crosses a message that has the kil...Gravatar attilamolnar2013-01-141-3/+19
* Add a flag to Command that controls whether an empty last parameter is allowe...Gravatar attilamolnar2012-12-151-0/+8
* Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ta...•••If a SID was passed as the target user parameter or when it's an unregistered user reply with the "no such nick" (or the moral equivalent) message Gravatar attilamolnar2012-12-154-4/+4
* cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hop•••Fixes #375 reported by @JDowny Gravatar attilamolnar2012-11-291-0/+3
* m_spanningtree Remove redundant params.size() checks•••TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters Gravatar attilamolnar2012-11-282-11/+0