summaryrefslogtreecommitdiff
path: root/src/misc.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2010-12-24 06:42:55 +0100
committerDukePyrolator <DukePyrolator@anope.org>2010-12-24 06:42:55 +0100
commit4235df2b28a26cb166a250d016f1fd9b417cb94b (patch)
tree71e7d99d4cf1c3f679593ff982baa37689f7b3e7 /src/misc.cpp
parenta0ad3c4fef7e35c68dee128950ef95c0c56849fe (diff)
parent1a3ba00c246803ee06a680060454fb6782e5dd7d (diff)
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'src/misc.cpp')
-rw-r--r--src/misc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index 51899270b..97006469a 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -201,7 +201,7 @@ time_t dotime(const Anope::string &s)
if (s.empty())
return -1;
- int amount = 0;
+ int amount;
Anope::string end;
try
@@ -230,7 +230,7 @@ time_t dotime(const Anope::string &s)
}
catch (const CoreException &) { }
- return amount;
+ return 0;
}
/*************************************************************************/