From: Michael Jerris Date: Thu, 21 Dec 2006 22:01:20 +0000 (+0000) Subject: disable controls until there is security X-Git-Tag: v1.0-beta1~1471 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=431ae09c25ef9ef611baa07cc778dfbdc77b80cc;p=thirdparty%2Ffreeswitch.git disable controls until there is security git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3789 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index e9e598f87c..0c007a1679 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -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"); }