summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-17 12:49:48 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-17 12:49:48 +0200
commitb9e11915a976daaf790ebc763aff56e19fd49e0f (patch)
tree7c69dc9427a8a0470ff12f772846b956e747bf78 /include
parentf9fd78c01623514a060c607534fc52cb73140200 (diff)
parentc7a26bc21629ddd4103dac1ff7f9acf45a2c4d35 (diff)
Merge insp20
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h4
-rw-r--r--include/inspircd.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h
index f2ba16902..fb93adafd 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -403,6 +403,10 @@ class CoreExport ServerConfig
*/
std::string HideKillsServer;
+ /** Set to hide kills from clients of ulined servers in snotices.
+ */
+ bool HideULineKills;
+
/** The full pathname and filename of the PID
* file as defined in the configuration.
*/
diff --git a/include/inspircd.h b/include/inspircd.h
index ee09070f8..303d24745 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -507,9 +507,10 @@ class CoreExport InspIRCd
/** Attempt to write the process id to a given file
* @param filename The PID file to attempt to write to
+ * @param exitonfail If true and the PID fail cannot be written log to stdout and exit, otherwise only log on failure
* @return This function may bail if the file cannot be written
*/
- void WritePID(const std::string &filename);
+ void WritePID(const std::string& filename, bool exitonfail = true);
/** This constructor initialises all the subsystems and reads the config file.
* @param argc The argument count passed to main()