summaryrefslogtreecommitdiff
path: root/src/misc.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-23 18:39:54 -0500
committerAdam <Adam@anope.org>2010-12-23 18:39:54 -0500
commit3009540a00d392912affea5f2545134e2f657c01 (patch)
tree15be0334f0d50dd67e0ce86e4e9f6ea273225ae3 /src/misc.cpp
parent265006b69176e1d8130284c63bcb50a1b67a426f (diff)
Rewrote the ignore code. Adds creator and reason to /os ignore list.
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..6aa90820e 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 -1;
}
/*************************************************************************/