aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fmode.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* m_spanningtree Clean up commentsGravatar Attila Molnar2015-05-131-2/+2
|
* m_spanningtree Apply FMODE mode changes using the new ModeParser functionsGravatar Attila Molnar2014-09-041-6/+5
|
* m_spanningtree Drop support for changing user modes with FMODEGravatar Attila Molnar2014-06-301-21/+6
| | | | This is useless with uuids
* m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TSGravatar Attila Molnar2014-04-161-7/+1
| | | | Throws a ProtocolException if the input is invalid
* m_spanningtree Throw an exception on protocol violations instead of ↵Gravatar Attila Molnar2014-04-161-1/+1
| | | | | | returning CMD_INVALID Catch CoreExceptions, log and close the link in OnDataReady()
* Remove whitespace and minor style changesGravatar Attila Molnar2014-01-231-2/+0
|
* Introduce Server classGravatar Attila Molnar2014-01-051-1/+1
| | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* 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.
* Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-1/+1
| | | | | | | | 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.
* Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵Gravatar attilamolnar2013-06-131-14/+16
| | | | | | | | indicate local only mode changes and mode merges 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.)
* Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-1/+1
|
* m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-4/+0
|
* m_spanningtree FMODE handler: ReworkGravatar attilamolnar2013-04-121-38/+26
| | | | | Check for error conditions before doing any work Get rid of hardcoded maxmodes and a loop that copies a container
* Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-1/+1
|
* 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-18/+8
| | | | 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
* Make User::uuid and User::server constGravatar danieldg2009-10-231-21/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7
* Create StreamSocket for IO hooking implementationGravatar danieldg2009-09-211-3/+3
| | | | | | | | | | | | | | 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
* Don't merge FMODEs with a non-server sourceGravatar danieldg2009-09-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11648 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove "servermode" parameter, replace with IS_FAKE() which is more reliableGravatar danieldg2009-09-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7
* Use CheckTimeStamp to merge modes on netburstGravatar danieldg2009-09-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11596 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
* Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtreeGravatar danieldg2009-05-131-11/+3
| | | | | | | 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
* 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-8/+8
| | | | | | 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
* fix some unitialised vectors and tidy up a bit.Gravatar peavey2008-05-051-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9637 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert a few missingGravatar peavey2008-05-051-5/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9635 e03df62e-2008-0410-955e-edbf42e46eb7
* Add simple modes to FJOIN instead of sending a seperate FMODE all the time. ↵Gravatar w00t2008-04-041-4/+3
| | | | | | This has the benefit of less bandwidth, making us closer to TS6 compliant, and perhaps defeating a few desync conditions in the future.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9333 e03df62e-2008-0410-955e-edbf42e46eb7
* DOH! Fix my muppetry of a segfault, and fix some warningsGravatar brain2008-04-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9273 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert remaining InspIRCd::Log() calls to new logging systemGravatar aquanight2008-02-221-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 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
* Split treesocket1 into a number of smaller filesGravatar w00t2008-02-031-0/+131
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8809 e03df62e-2008-0410-955e-edbf42e46eb7