Add "/request show_list"
authorMikael Berthe <mikael@lilotux.net>
Sat, 11 Feb 2006 15:21:25 +0100
changeset 694 6d6fdaf846ed
parent 693 e98abd3ce28c
child 695 c299035ccb9f
Add "/request show_list"
mcabber/src/commands.c
--- a/mcabber/src/commands.c	Sat Feb 11 15:18:45 2006 +0100
+++ b/mcabber/src/commands.c	Sat Feb 11 15:21:25 2006 +0100
@@ -1880,6 +1880,12 @@
       numtype = iqreq_version;
     else if (!strcasecmp(type, "time"))
       numtype = iqreq_time;
+    else if (!strcasecmp(type, "show_list")) {
+      // Undocumented command, for debugging purposes only
+      jb_iqs_display_list();
+      free_arg_lst(paramlst);
+      return;
+    }
   }
 
   if (!type || !numtype) {