aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/ftopic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-211-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-2/+2
|
* Rename <options:hostintopic> to <options:maskintopic>.Gravatar Sadie Powell2023-09-211-1/+1
| | | | | This option stores the user *mask* not the user host so the old name is incorrect.
* Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-1/+1
|
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
|
* Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-291-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-011-1/+1
|\
| * Fix various spelling issues (#1883).Gravatar Josh Soref2021-06-211-1/+1
| | | | | | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* | Move channel logic from InspIRCd to the new ChannelManager class.Gravatar Sadie Powell2021-05-081-1/+1
| |
* | Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-6/+6
|/
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+5
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Refactor topic setting logic to go through Channel::SetTopic() in all casesGravatar Attila Molnar2016-04-111-13/+1
| | | | | - Pass topic set time and optionally the setter to SetTopic() - Don't do anything if the topic is changed by a local user to what it is currently
* m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TSGravatar Attila Molnar2014-04-161-9/+2
| | | | Throws a ProtocolException if the input is invalid
* m_spanningtree Propagate topic changes via FTOPIC in order to prevent desync ↵Gravatar attilamolnar2013-08-281-5/+44
| | | | | | when two TOPIC messages cross TOPIC is no longer accepted from servers using the new protocol
* m_spanningtree Move all server-to-server command handlers into handler classesGravatar attilamolnar2013-08-181-1/+1
| | | | 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.
* m_spanningtree Add channel timestamp to FTOPICGravatar attilamolnar2013-04-131-5/+13
|
* m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-4/+0
|
* m_spanningtree FTOPIC handler: Keep only one topic if the two topic ↵Gravatar attilamolnar2013-04-121-1/+10
| | | | timestamps match but the topics differ
* m_spanningtree FTOPIC handler: Return CMD_FAILURE/CMD_INVALID as appropiateGravatar attilamolnar2013-04-121-15/+20
| | | | Return CMD_FAILURE to prevent propagation when the topic wasn't updated; return CMD_INVALID when the topicts is invalid
* m_spanningtree atoi() to ConvToInt() conversion, add const where possibleGravatar attilamolnar2013-04-121-1/+1
| | | | Remove two redundant functions from Utils
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
|
* Move lots of spanningtree items to commandsGravatar danieldg2010-01-181-23/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Create StreamSocket for IO hooking implementationGravatar danieldg2009-09-211-2/+2
| | | | | | | | | | | | | | 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
* Replace std::deque with std::vector in spanningtree and related modulesGravatar danieldg2009-09-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix build of m_spanningtree and display of dependency regenerationGravatar danieldg2009-09-011-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7
* Show correct server source to users on FTOPIC and FMODEGravatar danieldg2009-05-131-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11380 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. 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
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Be consistent. Use ServerInstance in all places instead of 'Instance' in ↵Gravatar w00t2008-09-211-4/+4
| | | | | | half. This has bugged me forever :p. I think I got all of extra/ too.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7
* Better Way(TM) of doing easy routing of commands with a user based source. ↵Gravatar w00t2008-08-051-22/+2
| | | | | | This saves me having to put fixes into SVSJOIN, etc, to stop fake direction. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10101 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward-port r10098 and r10099, fixing anope+inspircd=ftopic ddos. Thanks to ↵Gravatar w00t2008-08-051-11/+23
| | | | | | Namegduf for all his help. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10100 e03df62e-2008-0410-955e-edbf42e46eb7
* First phase of conversion to dynamic limits on all the lengths, configured ↵Gravatar brain2008-05-251-1/+1
| | | | | | | | | via the <limits> tag (the tag isnt there yet, these all just run on defaults in the class constructor) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert channel::name to std::string, this was a beastie!Gravatar brain2008-05-191-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix fake direction in TOPIC, you cant use a uuid as a command origin in the ↵Gravatar brain2008-04-061-1/+5
| | | | | | send functions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9393 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove many unneeded headers from spanningtree filesGravatar w00t2008-02-111-14/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8895 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix trivial desync with FTOPIC: if topic is identical, we still need to ↵Gravatar w00t2008-02-031-3/+4
| | | | | | broadcast FTOPIC out to the network so all other servers update setter and settime git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8810 e03df62e-2008-0410-955e-edbf42e46eb7
* Split treesocket1 into a number of smaller filesGravatar w00t2008-02-031-0/+75
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8809 e03df62e-2008-0410-955e-edbf42e46eb7