Mercurial > wow > squawk
comparison Squawk.lua @ 9:c535960b1245
syntax fix
author | wobin |
---|---|
date | Sun, 19 Apr 2009 02:50:40 +1000 |
parents | 34078dfcc67c |
children | 2231fd3f139b |
comparison
equal
deleted
inserted
replaced
8:34078dfcc67c | 9:c535960b1245 |
---|---|
212 Model:AddFollowing(Name) | 212 Model:AddFollowing(Name) |
213 end | 213 end |
214 | 214 |
215 if not Model.Following[Name] then -- If we're no longer following this person | 215 if not Model.Following[Name] then -- If we're no longer following this person |
216 self:SendMessageToTarget(Name, "#Unfollow|"..UnitName("player")) | 216 self:SendMessageToTarget(Name, "#Unfollow|"..UnitName("player")) |
217 return | 217 return |
218 end | |
219 | |
220 table.insert(Model.Squawks, Squawk:new(Message, Name)) | |
221 View:UpdateSquawkList() | |
218 end | 222 end |
219 | |
220 table.insert(Model.Squawks, Squawk:new(Message, Name)) | |
221 View:UpdateSquawkList() | |
222 end | 223 end |
223 end | 224 end |
224 | 225 |
225 function Controller:SendNewSquawk(Message) | 226 function Controller:SendNewSquawk(Message) |
226 if not Model:IsPrivate() then | 227 if not Model:IsPrivate() then |