+ /* If selection options were found, do something with them.
+ */
+ if ((selection_left > 0) && (selection_right >= selection_left)) {
+
+ /* Strip off the outer parentheses */
+ if (parms[selection_left][0] == '(') {
+ strcpy(parms[selection_left], &parms[selection_left][1]);
+ }
+ if (parms[selection_right][strlen(parms[selection_right])-1] == ')') {
+ parms[selection_right][strlen(parms[selection_right])-1] = 0;
+ }
+
+ for (i=selection_left; i<=selection_right; ++i) {
+
+ if (!strcasecmp(parms[i], "SUBSCRIBED")) {
+ subscribed_rooms_only = 1;
+ }
+
+ if (!strcasecmp(parms[i], "RECURSIVEMATCH")) {
+ /* FIXME - do this! */
+ }
+
+ }
+
+ }
+