diff Squawk.lua @ 20:22178ac75587

Changing to libqtipclick1.1
author wobin
date Wed, 22 Jul 2009 22:04:16 +1000
parents 431f2fce08f2
children
line wrap: on
line diff
--- a/Squawk.lua	Tue May 12 00:57:59 2009 +1000
+++ b/Squawk.lua	Wed Jul 22 22:04:16 2009 +1000
@@ -38,6 +38,7 @@
 	Settings.Requested = Model.db.profile.Requested
 	Settings.Blocked = Model.db.profile.Blocked
 	Settings.Private = Model.db.profile.Private
+	Settings.Trendsetter = Model.db.profile.Trendsetter
 	
 	LibStub("AceComm-3.0"):Embed(Controller)
 	LibStub("AceTimer-3.0"):Embed(Controller)
@@ -49,4 +50,12 @@
 	_, Controller.Class = UnitClass("player")
 
 	Model.Squawks.Reload(Model.Squawks) -- Retrain the table lookups
+
+	-- Now setup the SquawkTrends channel if opted in
+	if Settings.Trendsetter then
+		if #{GetChannelList()} > 17 then -- if we have a spare channel to use...
+			View:Print("Due to custom channel limitation, Squawk cannot transmit/recieve trending details")
+		end
+	end
+
 end