org/sonews/daemon/CommandSelector.java
changeset 14 efce4ec25564
parent 3 2fdc9cc89502
child 15 f2293e8566f5
     1.1 --- a/org/sonews/daemon/CommandSelector.java	Wed Jul 22 14:04:05 2009 +0200
     1.2 +++ b/org/sonews/daemon/CommandSelector.java	Thu Aug 20 16:57:38 2009 +0200
     1.3 @@ -55,6 +55,12 @@
     1.4      String[] classes = Resource.getAsString("helpers/commands.list", true).split("\n");
     1.5      for(String className : classes)
     1.6      {
     1.7 +      if(className.charAt(0) == '#')
     1.8 +      {
     1.9 +        // Skip comments
    1.10 +        continue;
    1.11 +      }
    1.12 +
    1.13        try
    1.14        {
    1.15          Class<?> clazz   = Class.forName(className);