From e64b5a25a54f56bc836af57223e37449a1daffe8 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 26 Mar 2009 23:04:14 -0600 Subject: Major clean up of ChatTab handling ChatTabs now manage their own adding/removal from the chat window, which lost most of it's chat related messages. Whisper handling is stil done by the ChatWindow, but it no longer manages any other tabs. ChannelTab handling is now the sole responsability of the Channels they are attached to. The general tab is handled by Game. --- src/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/log.cpp') diff --git a/src/log.cpp b/src/log.cpp index b0024f80..75b015da 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -103,7 +103,7 @@ void Logger::log(const char *log_text, ...) if (mChatWindow) { - mChatWindow->chatLog(buf, BY_LOGGER); + localChatTab->chatLog(buf, BY_LOGGER); } // Delete temporary buffer -- cgit v1.2.3-60-g2f50