From b3a11cb400fd02383c4b3eac67eeb54604d6ad77 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 22 Dec 2006 20:32:59 +0000 Subject: Line 1582 configreader.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6063 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/configreader.cpp b/src/configreader.cpp index 55321770b..e0c466097 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1579,6 +1579,8 @@ void ValueItem::Set(int value) int ValueItem::GetInteger() { + if (v.empty()) + return 0; return atoi(v.c_str()); } -- cgit v1.2.3