summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-03 04:08:20 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-03 04:08:20 +0000
commit8ed74be517990d100bdfe237a002d5115ea85a5e (patch)
treeb9d50cac1077d59fb06cc9b164572573ad393e7a /src/configreader.cpp
parentde25d946733f774e3a5b53a58438a9c92af0acbe (diff)
Fix crash due to null address in DNS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11797 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 21e4c2321..05171ea60 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -2102,9 +2102,3 @@ void ConfigReaderThread::Finish()
delete this->Config;
}
}
-
-template<>
-void ValueContainer<char[MAXBUF]>::Set(ServerConfig* conf, ValueItem const& item)
-{
- strlcpy(conf->*vptr, item.GetString(), MAXBUF);
-}