diff -r 74139325d305 -r 5d7d1adf387f src/org/sonews/daemon/command/XDaemonCommand.java --- a/src/org/sonews/daemon/command/XDaemonCommand.java Sun Aug 29 18:17:37 2010 +0200 +++ b/src/org/sonews/daemon/command/XDaemonCommand.java Tue Jun 07 11:55:22 2011 +0200 @@ -127,6 +127,16 @@ group.update(); conn.println("200 group " + commands[2] + " marked as deleted"); } + } else if(commands.length == 5 && commands[1].equalsIgnoreCase("GROUPFLAG")) { + Group group = StorageManager.current().getGroup(commands[2]); + String flagName = commands[4]; + if(commands[3].equalsIgnoreCase("SET")) { + + } else if(commands[3].equalsIgnoreCase("UNSET")) { + + } else { + conn.println("500 invalid command usage"); + } } else if (commands.length == 4 && commands[1].equalsIgnoreCase("SET")) { String key = commands[2]; String val = commands[3]; @@ -194,6 +204,7 @@ conn.println("401 unknown sub command"); } } else if (commands.length >= 3 && commands[1].equalsIgnoreCase("PLUGIN")) { + conn.println("400 invalid command usage"); } else { conn.println("400 invalid command usage"); }