Mercurial > wow > squawk
changeset 9:c535960b1245
syntax fix
author | wobin |
---|---|
date | Sun, 19 Apr 2009 02:50:40 +1000 |
parents | 34078dfcc67c |
children | 2231fd3f139b |
files | Squawk.lua |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Squawk.lua Sun Apr 19 02:49:29 2009 +1000 +++ b/Squawk.lua Sun Apr 19 02:50:40 2009 +1000 @@ -214,11 +214,12 @@ if not Model.Following[Name] then -- If we're no longer following this person self:SendMessageToTarget(Name, "#Unfollow|"..UnitName("player")) - return + return + end + + table.insert(Model.Squawks, Squawk:new(Message, Name)) + View:UpdateSquawkList() end - - table.insert(Model.Squawks, Squawk:new(Message, Name)) - View:UpdateSquawkList() end end