<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -138,7 +138,9 @@ function f:FRIENDLIST_UPDATE(event)
 
 	if initadds then
 		for i=1,GetNumFriends() do
-			if not GetFriendInfo(i) then Print(&quot;Server returned invalid friend data&quot;)
+			if not GetFriendInfo(i) then
+				Print(&quot;Server returned invalid friend data&quot;)
+				return
 			else
 				local name, _, _, _, _, _, note = GetFriendInfo(i)
 				name = string.lower(name)
@@ -171,7 +173,9 @@ function f:FRIENDLIST_UPDATE(event)
 
 	for i=1,GetNumFriends() do
 		local name, _, _, _, _, _, note = GetFriendInfo(i)
-		if not name then Print(&quot;Server returned invalid friend data&quot;)
+		if not name then
+			Print(&quot;Server returned invalid friend data&quot;)
+			return
 		else
 			name = string.lower(name)
 			if db.notes[name] and db.notes[name] ~= note then SetFriendNotes(name, db.notes[name])</diff>
      <filename>FriendsWithBenefits.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1cac9561844df6dccd93ada0f3786a12cb5d52f8</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/friendswithbenefits/commit/322b4d1922a93071e73c7a2cda5939c794ff33b7</url>
  <id>322b4d1922a93071e73c7a2cda5939c794ff33b7</id>
  <committed-date>2009-03-01T14:52:02-08:00</committed-date>
  <authored-date>2009-03-01T14:52:02-08:00</authored-date>
  <message>Return out instead, so that maybe we can run on the next friendlist update</message>
  <tree>55e6cc1ee477f695b8fffe68d2da7b216400b454</tree>
  <committer>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
