]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
disable controls until there is security
authorMichael Jerris <mike@jerris.com>
Thu, 21 Dec 2006 22:01:20 +0000 (22:01 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 21 Dec 2006 22:01:20 +0000 (22:01 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3789 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_conference/mod_conference.c

index e9e598f87c08c9c8ea69a43379310c7fc42e8454..0c007a1679bfcd0fe108324be6ed4d1bd5b37ccf 100644 (file)
@@ -3818,12 +3818,17 @@ static switch_status_t chat_send(char *proto, char *from, char *to, char *subjec
             if (strcasecmp(argv[0], "list") == 0) {
                 conference_list_pretty(conference, &stream);
                 /* provide help */
-            } else if (strcasecmp(argv[0], "help") == 0 || strcasecmp(argv[0], "commands") == 0) {
-                stream.write_function(&stream, "%s\n", conf_api_interface.syntax);
-                /* find a normal command */
-            } else {
-                conf_api_dispatch(conference, &stream, argc, argv, (const char *)body, 0);
+            } 
+#if 0
+            else {
+                if (strcasecmp(argv[0], "help") == 0 || strcasecmp(argv[0], "commands") == 0) {
+                    stream.write_function(&stream, "%s\n", conf_api_interface.syntax);
+                    /* find a normal command */
+                } else {
+                    conf_api_dispatch(conference, &stream, argc, argv, (const char *)body, 0);
+                }
             }
+#endif
         } else {
             stream.write_function(&stream, "No parameters specified.\nTry 'help'\n");
         }