Commit 718c3786 authored by Matt Tucker's avatar Matt Tucker Committed by matt

WAR files should be allowed.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@979 b35dd754-fafc-0310-a699-88a17e54d16e
parent 238fce69
......@@ -200,7 +200,8 @@ public class PluginManager {
try {
File [] jars = pluginDirectory.listFiles(new FileFilter() {
public boolean accept(File pathname) {
return pathname.getName().toLowerCase().endsWith(".jar");
String fileName = pathname.getName().toLowerCase();
return (fileName.endsWith(".jar") || fileName.endsWith(".war"));
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment