Index: trunk/tools/wmib/Core.cs |
— | — | @@ -785,7 +785,9 @@ |
786 | 786 | /// <returns></returns> |
787 | 787 | public static bool Message(string message, string channel) |
788 | 788 | { |
| 789 | + config.channel curr = getChannel(channel); |
789 | 790 | wd.WriteLine("PRIVMSG " + channel + " :" + message); |
| 791 | + chanLog( message, curr, config.username, "" ); |
790 | 792 | wd.Flush(); |
791 | 793 | return true; |
792 | 794 | } |
— | — | @@ -1051,7 +1053,7 @@ |
1052 | 1054 | chan.logged = false; |
1053 | 1055 | config.Save(); |
1054 | 1056 | chan.SaveConfig(); |
1055 | | - Message("Channel is not logged", chan.name); |
| 1057 | + Message("Channel is not logged", chan.name); |
1056 | 1058 | } |
1057 | 1059 | } |
1058 | 1060 | else |