summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-16 20:35:56 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-16 20:35:56 +0000
commit6bd851a4d05d912d4bc33bd1f35b2f2c14e4f29f (patch)
tree43149f2c3557ca560bb31a6d7d141534b87e125d /src
parent8d90a23689109b2852fe99ec5f314cec30218831 (diff)
Replaced time_t with long in the ValueItem class, this was preventing building under FreeBSD. Works under FreeBSD and Linux now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2098 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 42086cfae..0a230533e 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1515,7 +1515,7 @@ ValueItem::ValueItem(int value) : v("")
v = n.str();
}
-ValueItem::ValueItem(time_t value) : v("")
+ValueItem::ValueItem(long value) : v("")
{
std::stringstream n;
n << value;