Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-06 | Use InspIRCd::Format instead of snprintf(). | Peter Powell | |
2013-06-06 | Compare to ServerLimits::MaxLine instead of MAXBUF. | Peter Powell | |
2013-06-06 | Reserve ServerLimits::MaxLine instead of MAXBUF. | Peter Powell | |
2013-06-06 | Merge insp20 | attilamolnar | |
2013-06-05 | Remove unnecessary string copies and dead code | attilamolnar | |
2013-06-04 | m_spanningtree Fix FIDENT routing | attilamolnar | |
A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic | |||
2013-06-02 | Route WALLOPS like a regular command, remove OnWallops hook | attilamolnar | |
2013-05-27 | Deduplicate RemoveMode() implementations | attilamolnar | |
The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory | |||
2013-05-23 | Change CacheRefreshTimer tick time back to 5 minutes | Adam | |
2013-05-21 | Merge pull request #545 from SaberUK/master+logging-cleanup | Attila Molnar | |
Clean up the logging system (part 1 of 2). | |||
2013-05-21 | Convert XLine::Displayable to return a std::string. | Peter Powell | |
2013-05-20 | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to ↵ | attilamolnar | |
OnUserMessage and OnUserPreMessage 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 | |||
2013-05-19 | Fix spacing in calls to LogManager::Log. | Peter Powell | |
2013-05-18 | Replaced vsnprintf with VAFORMAT pretty much everywhere. | Daniel Vassdal | |
2013-05-18 | Change the signature of User::ForceNickChange() to accept const std::string& ↵ | attilamolnar | |
instead of const char* | |||
2013-05-18 | Remove the size argument from IsChannel and IsNick. | Peter Powell | |
There was only one case (which was probably an error) where these methods were not set to their ServerLimits value. | |||
2013-05-16 | Remove unused variables, avoid copies where possible, check empty() instead ↵ | attilamolnar | |
of size() == 0 Most of these were detected by cppcheck | |||
2013-05-16 | Allow spaces (and more) in oper types | attilamolnar | |
The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv | |||
2013-05-15 | Tidy up keywords on module methods. | Peter Powell | |
- 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. | |||
2013-05-14 | Merge pull request #523 from SaberUK/master+server-notice | Attila Molnar | |
Add method for writing server notices. | |||
2013-05-14 | Add method for writing server notices. | Peter Powell | |
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. | |||
2013-05-14 | m_spanningtree UID handler: Fix parsing user modes | attilamolnar | |
Spotted by @ShutterQuick Issue #532 | |||
2013-04-28 | Merge insp20 | attilamolnar | |
2013-04-26 | Modularize DNS | Adam | |
The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this. | |||
2013-04-23 | m_spanningtree Fix crash when connecting to a remote server that has the ↵ | attilamolnar | |
same name as we do and also there is a link block with our server name and their password See 49223cfe12ecd9071123f724e615e63841f2421d | |||
2013-04-21 | m_spanningtree Move CacheTimer into utils | attilamolnar | |
2013-04-21 | Timer changes and TimerManager enhancements | attilamolnar | |
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 | |||
2013-04-19 | Fix building with libc++. | Peter Powell | |
- 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. | |||
2013-04-18 | m_spanningtree Fix IS_LOCAL() check in OnRehash handler | attilamolnar | |
2013-04-14 | Use std::string internally in UIDGenerator, move UUID_LENGTH into the class ↵ | attilamolnar | |
as a constant | |||
2013-04-13 | m_spanningtree Remove redundant first parameter of PING/PONG | attilamolnar | |
2013-04-13 | m_spanningtree Ignore hopcount in incoming SERVER command, always send 0 at ↵ | attilamolnar | |
burst | |||
2013-04-13 | m_spanningtree Netburst: If a topic was ever set, send it even if it's empty | attilamolnar | |
A new but empty topic should override a non-empty old topic | |||
2013-04-13 | m_spanningtree Add channel timestamp to FTOPIC | attilamolnar | |
2013-04-13 | m_spanningtree Add channel timestamp to channel METADATA | attilamolnar | |
2013-04-13 | m_spanningtree Introduce IJOIN and RESYNC | attilamolnar | |
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 ("+"). | |||
2013-04-13 | m_spanningtree Bump protocol version and remove unused CAPAB CAPABILITIES ↵ | attilamolnar | |
entries | |||
2013-04-13 | Channel::JoinUser() and Channel::ForceChan() changes | attilamolnar | |
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 | |||
2013-04-12 | m_spanningtree Remove unneeded #includes | attilamolnar | |
2013-04-12 | m_spanningtree FJOIN handler: Refactor, update doc | attilamolnar | |
Split the core function into several smaller functions Accept userlist entries having no comma at all | |||
2013-04-12 | m_spanningtree Netburst: Refactor SendChannelModes() | attilamolnar | |
Rename it to SyncChannel() and change it to take a Channel* parameter, move iteration into DoBurst() | |||
2013-04-12 | m_spanningtree Change both prefix and first parameter of SQUIT to be a SID | attilamolnar | |
2013-04-12 | m_spanningtree Remove encapsulation on UserCount/OperCount | attilamolnar | |
2013-04-12 | m_spanningtree Introduce new function to send channel messages | attilamolnar | |
Use it from the protocol interface and PRIVMSG/NOTICE handlers Unite OnUserNotice and OnUserMessage code into LocalMessage() | |||
2013-04-12 | m_spanningtree Change TreeServerList to be a set, get rid of a function ↵ | attilamolnar | |
dedicated to adding entries to it | |||
2013-04-12 | m_spanningtree Utils: Move code that creates a full line from its components ↵ | attilamolnar | |
to a new function | |||
2013-04-12 | m_spanningtree FTOPIC handler: Keep only one topic if the two topic ↵ | attilamolnar | |
timestamps match but the topics differ | |||
2013-04-12 | m_spanningtree FTOPIC handler: Return CMD_FAILURE/CMD_INVALID as appropiate | attilamolnar | |
Return CMD_FAILURE to prevent propagation when the topic wasn't updated; return CMD_INVALID when the topicts is invalid | |||
2013-04-12 | m_spanningtree atoi() to ConvToInt() conversion, add const where possible | attilamolnar | |
Remove two redundant functions from Utils | |||
2013-04-12 | m_spanningtree RSQUIT handler: Don't reimplement sending messages to remote ↵ | attilamolnar | |
users Use ModuleSpanningTree::RemoteMessage instead |