From 5ad9b97fcff193ebce91a923c5006632501abf97 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 19 Apr 2013 07:10:27 +0100 Subject: Purge a ton of code related to non related logging. - InspIRCd::OpenLog - ./inspircd --logfile [file] This is no longer needed now we have (since 1.2) custom logging. --- include/configreader.h | 2 -- include/inspircd.h | 7 ------- 2 files changed, 9 deletions(-) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index cf5dd1a3e..70f81371f 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -142,8 +142,6 @@ struct CommandLineConf /** Saved argv from startup */ char** argv; - - std::string startup_log; }; class CoreExport OperInfo : public refcountbase diff --git a/include/inspircd.h b/include/inspircd.h index b55c4c014..f3208dec2 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -492,13 +492,6 @@ class CoreExport InspIRCd */ void CheckRoot(); - /** Determine the right path for, and open, the logfile - * @param argv The argv passed to main() initially, used to calculate program path - * @param argc The argc passed to main() initially, used to calculate program path - * @return True if the log could be opened, false if otherwise - */ - bool OpenLog(char** argv, int argc); - /** Return true if a channel name is valid * @param chname A channel name to verify * @return True if the name is valid -- cgit v1.2.3