Work on XDaemon command
authorcli
Sat Sep 10 20:20:19 2011 +0200 (2011-09-10)
changeset 4628870db3b9fd
parent 45 7e24949b87b0
child 47 e118b4d60029
Work on XDaemon command
src/org/sonews/daemon/command/XDaemonCommand.java
     1.1 --- a/src/org/sonews/daemon/command/XDaemonCommand.java	Sat Sep 10 18:18:05 2011 +0200
     1.2 +++ b/src/org/sonews/daemon/command/XDaemonCommand.java	Sat Sep 10 20:20:19 2011 +0200
     1.3 @@ -131,9 +131,21 @@
     1.4  				Group group = StorageManager.current().getGroup(commands[2]);
     1.5  				String flagName = commands[4];
     1.6  				if(commands[3].equalsIgnoreCase("SET")) {
     1.7 -					
     1.8 +					if(flagName.equals("MAILINGLIST")) {
     1.9 +
    1.10 +					} else if(flagName.equals("DELETED")) {
    1.11 +
    1.12 +					} else if(flagName.equals("READONLY")) {
    1.13 +
    1.14 +					}
    1.15  				} else if(commands[3].equalsIgnoreCase("UNSET")) {
    1.16 -					
    1.17 +					if(flagName.equals("MAILINGLIST")) {
    1.18 +
    1.19 +					} else if(flagName.equals("DELETED")) {
    1.20 +
    1.21 +					} else if(flagName.equals("READONLY")) {
    1.22 +
    1.23 +					}
    1.24  				} else {
    1.25  					conn.println("500 invalid command usage");
    1.26  				}