aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/addline.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2022-04-281-2/+2
|
* Fix the grammar of various xline messages.Gravatar Sadie Powell2022-04-051-2/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+7
|
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-3/+3
|
* Start using DurationString() in X-line additions andGravatar Matt Schatz2019-02-181-5/+7
| | | | a few other modules where it fits better than just showing seconds.
* Store durations as unsigned long not long in XLine and m_filter.Gravatar Peter Powell2018-12-131-1/+1
|
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Gravatar Peter Powell2018-12-121-2/+2
| | | | | | | The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting.
* Remove the 'debug' snotice character.Gravatar Peter Powell2018-08-071-2/+2
|
* 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 Replace direct access of TreeServer::bursting with IsBursting()Gravatar Attila Molnar2014-07-271-1/+1
|
* Introduce Server classGravatar Attila Molnar2014-01-051-1/+1
| | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* Clean up CoreExceptionGravatar Attila Molnar2013-12-181-1/+1
| | | | | - Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
* Make various self contained methods static.Gravatar Peter Powell2013-12-151-1/+1
| | | | | - InspIRCd::IsValidMask - InspIRCd::TimeString
* m_spanningtree Introduce command buildersGravatar attilamolnar2013-08-271-0/+10
|
* m_spanningtree Move all server-to-server command handlers into handler classesGravatar attilamolnar2013-08-181-28/+10
| | | | 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.
* Remove $ModDep commentsGravatar attilamolnar2013-08-151-2/+0
|
* m_spanningtree Change the type of TreeServer::ServerName to std::stringGravatar attilamolnar2013-07-241-1/+1
|
* m_spanningtree atoi() to ConvToInt() conversion, add const where possibleGravatar attilamolnar2013-04-121-2/+2
| | | | Remove two redundant functions from Utils
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-301-3/+5
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* Fix crash in ADDLINE handler when the command had no parametersGravatar attilamolnar2012-07-011-1/+1
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+14
|
* ...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-5/+5
| | | | | | | | | | | | | | 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
* Introduce "X" snomask for remote *:line messages [patch by jackmcbarn]Gravatar danieldg2009-09-141-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11721 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove calls to strdup() in core, it is not better than std::stringGravatar danieldg2009-09-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11623 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
* 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
* Fix for bug #605 reported by MacGuyver, if a line is expired when we are ↵Gravatar brain2008-09-221-1/+1
| | | | | | adding another with the same hostmask, replace the existing line with the new one git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10589 e03df62e-2008-0410-955e-edbf42e46eb7
* Be consistent. Use ServerInstance in all places instead of 'Instance' in ↵Gravatar w00t2008-09-211-12/+12
| | | | | | 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 various rline bugs, implement /stats R, and fix the issue where you get ↵Gravatar brain2008-09-211-1/+10
| | | | | | | | | | no error. "Something will already have said why it fucked up" -- what about when the rline fails due to missing provider? Also fix the fact that we dont have a catch around the Generate() in addline, which would just make insp abort. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10577 e03df62e-2008-0410-955e-edbf42e46eb7
* fixed some indentation and spacing in modulesGravatar pippijn2008-06-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix showing of sid/uid instead of nick or servername when lines are addedGravatar brain2008-04-051-4/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9361 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove many unneeded headers from spanningtree filesGravatar w00t2008-02-111-13/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8895 e03df62e-2008-0410-955e-edbf42e46eb7
* Split treesocket2 into various smaller filesGravatar w00t2008-02-041-0/+79
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8814 e03df62e-2008-0410-955e-edbf42e46eb7