From 3009540a00d392912affea5f2545134e2f657c01 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 23 Dec 2010 18:39:54 -0500 Subject: Rewrote the ignore code. Adds creator and reason to /os ignore list. --- src/misc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/misc.cpp') 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; } /*************************************************************************/ -- cgit