r7591 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r7590‎ | r7591 | r7592 >
Date:09:19, 6 March 2005
Author:kateturner
Status:old
Tags:
Comment:
reset irctrmsrv's comdat properly before parsing
Modified paths:
  • /trunk/servmon/include/smtrm.hxx (modified) (history)
  • /trunk/servmon/smirc.cxx (modified) (history)

Diff [purge]

Index: trunk/servmon/include/smtrm.hxx
@@ -174,7 +174,6 @@
175175 basrt.install("show irc", "Show IRC-related information");
176176 basrt.install("show irc server %s", cfg_irc_showserver(), "Describe a configured server");
177177 basrt.install("show irc server", cfg_irc_showserver(), "Describe all configured servers");
178 -basrt.install("show irc channels", cfg_irc_showchannels(), "Show configured channels");
179178 basrt.install("show monitor", "Show monitoring information");
180179 basrt.install("show monitor server", cfg_monit_showservers(), "Show monitored servers");
181180 basrt.install("show monitor server %s", cfg_monit_showservers(), "Show information for a particular server");
@@ -188,6 +187,7 @@
189188 basrt.install("show parser", "Show MediaWiki parser-related information");
190189 basrt.install("show parser cache-statistics", cfg_mc_show_parser_cache(), "Show parser cache hit statistics");
191190 stdrt = basrt;
 191+stdrt.install("show irc channels", cfg_irc_showchannels(), "Show configured channels");
192192 stdrt.install("exit", cmd_exit(), "End session");
193193 eblrt = stdrt;
194194 stdrt.install("enable", cmd_enable(), "Enter privileged mode");
Index: trunk/servmon/smirc.cxx
@@ -29,6 +29,7 @@
3030 void parse(str line) {
3131 std::string ln = line;
3232 if (!ln.size()) return;
 33+ cd.rst();
3334 int wild;
3435 bool b = true;
3536 std::vector<handler_node_t *> matches;

Follow-up revisions

RevisionCommit summaryAuthorDate
r75956mft r75952 and r7591nimishg20:46, 3 November 2010

Status & tagging log