aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
Commit message (Expand)AuthorAgeFilesLines
...
* | m_spanningtree Move SVSMODE -> MODE translation into the appropiate place, ig...Gravatar attilamolnar2013-06-122-8/+6
* | m_spanningtree Rewrite incoming (E|G|K|Q|Z)LINE commands from 2.0 servers int...•••These commands were never documented to be usable in the server protocol but we accepted them nevertheless from servers Gravatar attilamolnar2013-06-121-0/+23
* | Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to r...Gravatar attilamolnar2013-06-122-17/+1
* | Implement GetRouting() in core commands that require it, remove ugly workarou...Gravatar attilamolnar2013-06-121-9/+1
* | Change command name parameter of OnPostCommand to be a Command*Gravatar attilamolnar2013-06-124-12/+7
* | Simplify stringjoiner: take 1 parameter, join from begin() to end() and use s...Gravatar attilamolnar2013-06-122-4/+4
* | Create SSLIOHook interface that provides GetCertificate()Gravatar attilamolnar2013-06-071-10/+1
* | Create IOHook interface (extracted from Module)Gravatar attilamolnar2013-06-072-2/+4
* | Use InspIRCd::Format instead of snprintf().Gravatar Peter Powell2013-06-061-40/+30
* | Compare to ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
* | Reserve ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
* | Merge insp20Gravatar attilamolnar2013-06-063-6/+1
|\|
| * Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-053-31/+5
| * m_spanningtree Fix FIDENT routing•••A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic Gravatar attilamolnar2013-06-041-2/+1
| * Remove unused variables, avoid copies where possible, check empty() instead o...•••Most of these were detected by cppcheck Gravatar attilamolnar2013-05-161-1/+0
* | Route WALLOPS like a regular command, remove OnWallops hookGravatar attilamolnar2013-06-022-12/+1
* | Deduplicate RemoveMode() implementations•••The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory Gravatar attilamolnar2013-05-271-1/+1
* | Change CacheRefreshTimer tick time back to 5 minutesGravatar Adam2013-05-231-1/+1
* | Merge pull request #545 from SaberUK/master+logging-cleanup•••Clean up the logging system (part 1 of 2).Gravatar Attila Molnar2013-05-2111-18/+18
|\ \
| * | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-1911-18/+18
* | | Convert XLine::Displayable to return a std::string.Gravatar Peter Powell2013-05-211-2/+4
* | | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to On...•••All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases Gravatar attilamolnar2013-05-202-10/+4
* | | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-6/+2
|/ /
* | Change the signature of User::ForceNickChange() to accept const std::string& ...Gravatar attilamolnar2013-05-184-6/+6
* | Remove the size argument from IsChannel and IsNick.•••There was only one case (which was probably an error) where these methods were not set to their ServerLimits value. Gravatar Peter Powell2013-05-181-1/+1
* | Allow spaces (and more) in oper types•••The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv Gravatar attilamolnar2013-05-164-4/+19
* | Tidy up keywords on module methods.•••- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. Gravatar Peter Powell2013-05-155-53/+52
* | Merge pull request #523 from SaberUK/master+server-notice•••Add method for writing server notices.Gravatar Attila Molnar2013-05-143-5/+5
|\ \
| * | Add method for writing server notices.•••This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name. Gravatar Peter Powell2013-05-143-5/+5
* | | m_spanningtree UID handler: Fix parsing user modes•••Spotted by @ShutterQuick Issue #532 Gravatar attilamolnar2013-05-141-3/+5
|/ /
* | Merge insp20Gravatar attilamolnar2013-04-284-28/+64
|\|
| * m_spanningtree Fix crash when connecting to a remote server that has the same...•••See 49223cfe12ecd9071123f724e615e63841f2421d Gravatar attilamolnar2013-04-231-2/+3
| * m_spanningtree Fix IS_LOCAL() check in OnRehash handlerGravatar attilamolnar2013-04-181-1/+1
| * m_spanningtree Create new TreeServers for incoming connections only when they...Gravatar attilamolnar2013-04-103-25/+60
* | Modularize DNS•••The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this. Gravatar Adam2013-04-265-44/+68
* | m_spanningtree Move CacheTimer into utilsGravatar attilamolnar2013-04-216-46/+21
* | Timer changes and TimerManager enhancements•••Timer::Tick() now has a bool return value: if false is returned the timer is deleted using operator delete, otherwise, if it's a repeating timer then it's rescheduled (readded) Timers are removed from the TimerManager automatically at destruction Timers are now stored in a multimap instead of a sorted vector Gravatar attilamolnar2013-04-213-4/+6
* | Fix building with libc++.•••- Purged std::tr1::strlower (was never used). - Moved std::tr1::insensitive to irc::insensitive. - Added TR1NS macro to point to the correct C++ TR1 namespace. Gravatar Peter Powell2013-04-191-1/+1
* | 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