summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-15 01:10:08 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-15 01:10:08 +0000
commit8528562075a54dbb8fc40d100e55e6a8af8067c4 (patch)
treed8c5a88e3db5af5b94258ab57a26eed421747f16 /src/helperfuncs.cpp
parenteb08ac122471f47488cf411a0d552c5285ca3e66 (diff)
See configreader.cpp line 764 to see how to declare deprecated items. This is reasonably well thought out so i see no issue with leaving items here a very long time :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9507 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index ce962fea6..b0c966457 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -308,7 +308,7 @@ bool InspIRCd::OpenLog(char**, int)
if (Config->logpath.empty())
{
std::string path = std::string(home) + "/.inspircd";
- if (!mkdir(path.c_str(), 0700))
+ if (!mkdir(path.c_str(), 0700) && errno != EEXIST)
{
/* Log to ~/.inspircd/ircd.log */
Config->logpath = path + "/startup.log";