diff options
| author | 2008-11-02 04:20:54 +0000 | |
|---|---|---|
| committer | 2008-11-02 04:20:54 +0000 | |
| commit | bc1699302e4fc389d9ebb66ee645a86820762157 (patch) | |
| tree | 98324f259fb6aba51143ef24d424bef42dbf258b /src/modules/m_cgiirc.cpp | |
| parent | Backport leak on /rehash fix. (diff) | |
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
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
| -rw-r--r-- | src/modules/m_cgiirc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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++) { |
