Mercurial > hg
comparison mcabber/src/commands.c @ 694:6d6fdaf846ed
Add "/request show_list"
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 11 Feb 2006 15:21:25 +0100 |
parents | e98abd3ce28c |
children | ee06382dfb22 |
comparison
equal
deleted
inserted
replaced
693:e98abd3ce28c | 694:6d6fdaf846ed |
---|---|
1878 // Quick check... | 1878 // Quick check... |
1879 if (!strcasecmp(type, "version")) | 1879 if (!strcasecmp(type, "version")) |
1880 numtype = iqreq_version; | 1880 numtype = iqreq_version; |
1881 else if (!strcasecmp(type, "time")) | 1881 else if (!strcasecmp(type, "time")) |
1882 numtype = iqreq_time; | 1882 numtype = iqreq_time; |
1883 else if (!strcasecmp(type, "show_list")) { | |
1884 // Undocumented command, for debugging purposes only | |
1885 jb_iqs_display_list(); | |
1886 free_arg_lst(paramlst); | |
1887 return; | |
1888 } | |
1883 } | 1889 } |
1884 | 1890 |
1885 if (!type || !numtype) { | 1891 if (!type || !numtype) { |
1886 scr_LogPrint(LPRINT_NORMAL, | 1892 scr_LogPrint(LPRINT_NORMAL, |
1887 "Please specify a query type (version, time)."); | 1893 "Please specify a query type (version, time)."); |