Files 4
Downloads 601,682
Favorites 740
My AddOns
View Bug Report
Timestamp functions are calling the wrong AddMessage hook
Bug #: 1715
File: CTMod
Date: 07-22-06 06:19 PM
By: Malreth
Status: Unconfirmed
When CT_MasterMod calls the original AddMessage method to display a timestamp, it always calls the instance of the method for ChatFrame7. You can verify this by changing line 123 of CT_ModRegister.lua to:

Code:
CT_BarMod_OriginalChatHandlers[i](self, "[" .. tonumber(date("%I")) .. date(":%M") .. "] ".. i .. msg, r, g, b);
Enable 12h timestamps and reload the UI. All chat messages will show that i is equal to 7. This causes a conflict with StopTheSpam!, for instance, which only hooks ChatFrames 1 and 2. After CT_MasterMod loads, StopTheSpam! is effectively out of the loop and will no longer filter out loading messages.