Index: trunk/servmon/include/smtrm.hxx |
— | — | @@ -174,7 +174,6 @@ |
175 | 175 | basrt.install("show irc", "Show IRC-related information"); |
176 | 176 | basrt.install("show irc server %s", cfg_irc_showserver(), "Describe a configured server"); |
177 | 177 | basrt.install("show irc server", cfg_irc_showserver(), "Describe all configured servers"); |
178 | | -basrt.install("show irc channels", cfg_irc_showchannels(), "Show configured channels"); |
179 | 178 | basrt.install("show monitor", "Show monitoring information"); |
180 | 179 | basrt.install("show monitor server", cfg_monit_showservers(), "Show monitored servers"); |
181 | 180 | basrt.install("show monitor server %s", cfg_monit_showservers(), "Show information for a particular server"); |
— | — | @@ -188,6 +187,7 @@ |
189 | 188 | basrt.install("show parser", "Show MediaWiki parser-related information"); |
190 | 189 | basrt.install("show parser cache-statistics", cfg_mc_show_parser_cache(), "Show parser cache hit statistics"); |
191 | 190 | stdrt = basrt; |
| 191 | +stdrt.install("show irc channels", cfg_irc_showchannels(), "Show configured channels"); |
192 | 192 | stdrt.install("exit", cmd_exit(), "End session"); |
193 | 193 | eblrt = stdrt; |
194 | 194 | stdrt.install("enable", cmd_enable(), "Enter privileged mode"); |
Index: trunk/servmon/smirc.cxx |
— | — | @@ -29,6 +29,7 @@ |
30 | 30 | void parse(str line) { |
31 | 31 | std::string ln = line; |
32 | 32 | if (!ln.size()) return; |
| 33 | + cd.rst(); |
33 | 34 | int wild; |
34 | 35 | bool b = true; |
35 | 36 | std::vector<handler_node_t *> matches; |