diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-01 15:01:32 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-01 15:01:32 +0000 |
commit | 75eb9178d5051046aa86d1115ad02c5be17b79be (patch) | |
tree | 121accd1c504fef12917b6d0bbbc9338317f0478 /src/inspircd.cpp | |
parent | 55de6781e0d26c304e7d1bfa7c84698183c14228 (diff) |
Make WritePID a public function of class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4097 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 12c935b3d..8176b8332 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -207,7 +207,7 @@ bool InspIRCd::DaemonSeed() return true; } -void WritePID(const std::string &filename) +void InspIRCd::WritePID(const std::string &filename) { std::ofstream outfile(filename.c_str()); if (outfile.is_open()) @@ -931,7 +931,7 @@ int InspIRCd::Run() for (int count = 0; count < stats->BoundPortCount; count++) SE->AddFd(openSockfd[count],true,X_LISTEN); - WritePID(Config->PID); + this->WritePID(Config->PID); /* main loop, this never returns */ expire_run = false; |