Revision
15843
Author
brian
Date
2009-12-08 11:00:09 -0600 (Tue, 08 Dec 2009)

Log Message

 missing ikey 

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c (15842 => 15843)


--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	2009-12-08 16:37:48 UTC (rev 15842)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	2009-12-08 17:00:09 UTC (rev 15843)
@@ -3015,7 +3015,7 @@
 		sprintf(sql, "select type, name, ikey from interfaces where type = '%s' order by type,name", command);
 	} else if (!strncasecmp(command, "module", 6)) {
 		if (argv[1]) {
-			sprintf(sql, "select distinct type, name, ikey, filename from interfaces where key = '%s' order by type,name", argv[1]);
+			sprintf(sql, "select distinct type, name, ikey, filename from interfaces where ikey = '%s' order by type,name", argv[1]);
 		} else {
 			sprintf(sql, "select distinct type, name, ikey, filename from interfaces order by type,name");
 		}