diff options
| author | 2009-10-03 04:08:20 +0000 | |
|---|---|---|
| committer | 2009-10-03 04:08:20 +0000 | |
| commit | 8ed74be517990d100bdfe237a002d5115ea85a5e (patch) | |
| tree | b9d50cac1077d59fb06cc9b164572573ad393e7a /src/configreader.cpp | |
| parent | Get rid of a bunch of memory-wasting C-style strings (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.cpp | 6 |
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); -} |
