X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/c51ca81cdfcc15dffbf12bd51ced27673d810c87..0d62343db7cf98dda603d338e1948a9a09af5862:/plugins.php diff --git a/plugins.php b/plugins.php index 6a82c87..225d144 100644 --- a/plugins.php +++ b/plugins.php @@ -1,5 +1,5 @@ name,$name) && (!$version || ($version >= $p->version))) + if (!strcmp($p->name,$name) && (!$version || ($version >= $p->version))) return true; return false;