r106424 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106423‎ | r106424 | r106425 >
Date:11:33, 16 December 2011
Author:petrb
Status:ok
Tags:
Comment:
self log may need to be improved so that it's a bit faster
Modified paths:
  • /trunk/tools/wmib/Core.cs (modified) (history)

Diff [purge]

Index: trunk/tools/wmib/Core.cs
@@ -785,7 +785,9 @@
786786 /// <returns></returns>
787787 public static bool Message(string message, string channel)
788788 {
 789+ config.channel curr = getChannel(channel);
789790 wd.WriteLine("PRIVMSG " + channel + " :" + message);
 791+ chanLog( message, curr, config.username, "" );
790792 wd.Flush();
791793 return true;
792794 }
@@ -1051,7 +1053,7 @@
10521054 chan.logged = false;
10531055 config.Save();
10541056 chan.SaveConfig();
1055 - Message("Channel is not logged", chan.name);
 1057+ Message("Channel is not logged", chan.name);
10561058 }
10571059 }
10581060 else

Status & tagging log