From bc1699302e4fc389d9ebb66ee645a86820762157 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 2 Nov 2008 04:20:54 +0000 Subject: Fix an uninitialised variable in ConfigReader::GetError() git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10789 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cgiirc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_cgiirc.cpp') diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index 31fd3c3fb..927acd6d4 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -196,8 +196,8 @@ public: NotifyOpers = Conf.ReadFlag("cgiirc", "opernotice", 0); // If we send an oper notice when a CGI:IRC has their host changed. - //if(Conf.GetError() == CONF_VALUE_NOT_FOUND) - // NotifyOpers = true; + if(Conf.GetError() == CONF_VALUE_NOT_FOUND) + NotifyOpers = true; for(int i = 0; i < Conf.Enumerate("cgihost"); i++) { -- cgit v1.3.1-10-gc9f91