diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-08 11:24:44 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-08 11:24:44 +0000 |
commit | 7804a295387c003e8a8a11e97c0b6eb2915e3ff4 (patch) | |
tree | f4788ad0e4e14abc15fcdac95fd8c49fe0929683 /src | |
parent | 8ab23609afd280d7a3bf20ca674cb4204afec149 (diff) |
Typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3545 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 6 | ||||
-rwxr-xr-x | src/svn-rev.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index b5584b532..f022d48c6 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1365,7 +1365,7 @@ class TreeSocket : public InspSocket * back to the core so that a large burst is split into at least 6 sections * (possibly more) */ - std::string burst = "BURST "+ConvToStr(TIME); + std::string burst = "BURST "+ConvToStr(time(NULL)); std::string endburst = "ENDBURST"; Srv->SendOpers("*** Bursting to \2"+s->GetName()+"\2."); this->WriteLine(burst); @@ -2265,10 +2265,10 @@ class TreeSocket : public InspSocket else if (command == "BURST") { time_t THEM = atoi(params[0].c_str()); - long delta = THEM-TIME; + long delta = THEM-time(NULL); if ((delta < -600) || (delta > 600)) { - WriteOpers("*** \2ERROR\2: Your clocks are out by "+ConvToStr(abs(delta))+" seconds (this is more than ten minutes). Link aborted, \2PLEASE SYNC YOUR CLOCKS!\2"); + WriteOpers("*** \2ERROR\2: Your clocks are out by %d seconds (this is more than ten minutes). Link aborted, \2PLEASE SYNC YOUR CLOCKS!\2",abs(delta)); this->WriteLine("ERROR :Your clocks are out by "+ConvToStr(abs(delta))+" seconds (this is more than ten minutes). Link aborted, PLEASE SYNC YOUR CLOCKS!"); return false; } diff --git a/src/svn-rev.sh b/src/svn-rev.sh index 63215dc31..44e2d920b 100755 --- a/src/svn-rev.sh +++ b/src/svn-rev.sh @@ -1 +1 @@ -echo 3536 +echo 3544 |