summaryrefslogtreecommitdiff
path: root/src/timers.cpp
AgeCommit message (Collapse)Author
2025-01-14Merge branch '2.0' into 2.1.Sadie Powell
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-11-18Only auto-add timers if they actually have a tick time.Sadie Powell
2024-03-14Initialize timer members with constructor initialization.Sadie Powell
2024-02-17Update the copyright headers for 2024.Sadie Powell
2024-02-11Remove the time_t parameter from Tick and TickTimers.Sadie Powell
Most uses of Tick do not use the parameter and even when it is used it is always the same as CurTime.
2024-02-11Consistently use time_t for the timer duration.Sadie Powell
2024-02-11Remove the now parameter from the Timer class.Sadie Powell
This was never actually changed from the default.
2024-01-04Update the copyright headers for 2024.Sadie Powell
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-12-09Use emplace() instead of insert(std::make_pair()).Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-03-30Merge usefulness of Timer and CallBack classes into Timer, and fix it to ↵Adam
really work
2013-03-22Fix build from earlier mergeAdam
2013-03-20Improve TimerManagerattilamolnar
Instead of adding timers into a vector and sorting them every time a timer is added, use a multimap
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-02-14Clean up and reorganize our header filesAdam
2012-01-02Updated Copyright to 2012Adam
2011-06-14Fixed a few small thingsAdam
2011-06-09small improvement for Timer::SetSecs()DukePyrolator
2011-06-07added a Timer::SetSecs() functionDukePyrolator
2011-01-07fix some more copyright and typos (not mine) spotted by chaz :Plethality
2011-01-05update copyrights for 2011lethality
2010-07-26Trying to make things a little more const-safe, a work in progress but this ↵Naram Qashat
is a bit better.
2010-07-25Epic commit to replace most of the strings in Anope with a single ↵Naram Qashat
Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
2010-06-20The first of a few "CBX OCDing over code style" commits, focusing on ↵Naram Qashat
include/* and src/* but not src/core/* or src/modules/*.
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-02-28Made it so you can register empty nonregistered channels to make registering ↵Adam-
channels through SQL a bit more effective, fixed a some small bugs found on the testnet, added some missing modes into InspIRCd1.2 support, and updated TODO and Changes.lang git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2799 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-25Rewrote part of the Timer and CallBack code for modules to be saneAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2795 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11updated copyright info for 2010pimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11Moved alot of stuff to constructors and destructors, instead of having ↵Adam-
functions everywhere to create and destroy objects git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2639 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-02Properly remove old callbacks from modules internal list of callbacks list, ↵Adam-
and cleaned up some of the timers code git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2524 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30Fixed an uninitialized variable in Timers that could make NickServCollide failAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2482 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-11Added missing timers.h and timers.cpp from Adam, removed timeout.h and ↵cyberbotx
timeout.c. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2318 5417fbe8-f217-4b02-8779-1006273d7864