X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/93a3dfcb17ff8283ecd91cb74d68828cef867d36..4fc503d806fb32dc8d2ef286ceb4183ef54ad93f:/plugins.php diff --git a/plugins.php b/plugins.php index 969479e..de3307e 100644 --- a/plugins.php +++ b/plugins.php @@ -55,6 +55,7 @@ class Plugin public $version; public $description; public $handle; + public $email; public $error = NULL; function __construct($handle) @@ -84,6 +85,8 @@ class Plugin $this->error = "Plugin version not defined"; elseif (!isset($plugin->description)) $this->error = "Plugin description not defined"; + elseif (!isset($plugin->email)) + $this->error = "Plugin email not defined"; else { $this->handle = $handle; @@ -91,6 +94,7 @@ class Plugin $this->author = $plugin->author; $this->version = $plugin->version; $this->description = $plugin->description; + $this->email = $plugin->email; } } }