Blob Blame History Raw
diff -aurp a/configuration.cpp b/configuration.cpp
--- a/configuration.cpp	2018-09-13 04:38:20.000000000 +0000
+++ b/configuration.cpp	2018-09-13 22:58:52.577802948 +0000
@@ -125,6 +125,15 @@ void Configuration::Init()
             Configuration::Author = lineauth;
         }
         fauth.close();
+
+        //private
+        ifstream fpriv;
+        fpriv.open(string(homedir + "/.cpaste/private").c_str());
+        if(fpriv.good())
+        {
+            Configuration::Private = true;
+        }
+        fpriv.close();
     }
     if (Configuration::Author.length() < 1)
     {