Modules: use public API
Avoid accessing protected member variables directly, so there's a chance of cleaning up the module API later.
This commit is contained in:
1 parent
d9ae3fa7c8
commit
1bacec1dd3
40 files changed
+291
-270
No files matched your search
+1
-1
@@ -36,7 +36,7 @@ public:
|
||||
PutModule("You have a certificate in: " + PemFile());
|
||||
} else {
|
||||
PutModule("You do not have a certificate. Please use the web interface to add a certificate");
|
||||
if (m_pUser->IsAdmin()) {
|
||||
if (GetUser()->IsAdmin()) {
|
||||
PutModule("Alternatively you can either place one at " + PemFile());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user