From df9f0e897a360e35b35a3ce055dd1fdf76b437e1 Mon Sep 17 00:00:00 2001 From: pigmonkey Date: Mon, 30 May 2011 18:54:56 -0400 Subject: [PATCH] change some module names --- modules/chatfilter.lua | 2 +- modules/guildroster.lua | 4 ++-- modules/potions.lua | 2 +- modules/rbs.lua | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/chatfilter.lua b/modules/chatfilter.lua index 5b03d80..23e1df3 100644 --- a/modules/chatfilter.lua +++ b/modules/chatfilter.lua @@ -1,5 +1,5 @@ local core = LibStub("AceAddon-3.0"):GetAddon("AllTheLittleThings") -local mod = core:NewModule("Chat Filter") +local mod = core:NewModule("ChatFilter") local db local defaults = { diff --git a/modules/guildroster.lua b/modules/guildroster.lua index b88e614..5fda936 100644 --- a/modules/guildroster.lua +++ b/modules/guildroster.lua @@ -1,5 +1,5 @@ local core = LibStub("AceAddon-3.0"):GetAddon("AllTheLittleThings") -local mod = core:NewModule("Guild Roster", "AceEvent-3.0", "AceHook-3.0") +local mod = core:NewModule("GuildRoster", "AceEvent-3.0", "AceHook-3.0") local db local defaults = { @@ -281,7 +281,7 @@ function mod:RosterUpdatePostHook() GuildRosterButton_SetStringText(button.barLabel, "#"..achievementRank, online); end button:Show(); - if ( mod(index, 2) == 0 ) then + if ( index % 2 == 0 ) then button.stripe:SetTexCoord(0.36230469, 0.38183594, 0.95898438, 0.99804688); else button.stripe:SetTexCoord(0.51660156, 0.53613281, 0.88281250, 0.92187500); diff --git a/modules/potions.lua b/modules/potions.lua index 78c3550..b03f66d 100644 --- a/modules/potions.lua +++ b/modules/potions.lua @@ -1,5 +1,5 @@ local core = LibStub("AceAddon-3.0"):GetAddon("AllTheLittleThings") -local mod = core:NewModule("Potion Mail", "AceEvent-3.0") +local mod = core:NewModule("PotionMail", "AceEvent-3.0") local db local defaults = { diff --git a/modules/rbs.lua b/modules/rbs.lua index 1d14099..037a70a 100644 --- a/modules/rbs.lua +++ b/modules/rbs.lua @@ -1,5 +1,5 @@ local core = LibStub("AceAddon-3.0"):GetAddon("AllTheLittleThings") -local mod = core:NewModule("RBS Mods", "AceEvent-3.0", "AceHook-3.0") +local mod = core:NewModule("RBS", "AceEvent-3.0", "AceHook-3.0") local db local defaults = {