From 431ae09c25ef9ef611baa07cc778dfbdc77b80cc Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 21 Dec 2006 22:01:20 +0000 Subject: [PATCH] disable controls until there is security git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3789 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- .../applications/mod_conference/mod_conference.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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"); }