OSDN Git Service

Update copyright year
[radegast/radegast.git] / Radegast / Core / Contexts / AvatarProfileAction.cs
index 86a5b75..5d0d9da 100644 (file)
@@ -1,6 +1,6 @@
 // 
 // Radegast Metaverse Client
-// Copyright (c) 2009, Radegast Development Team
+// Copyright (c) 2009-2014, Radegast Development Team
 // All rights reserved.
 // 
 // Redistribution and use in source and binary forms, with or without
@@ -54,7 +54,7 @@ namespace Radegast
                 DebugLog("cannot find avatar" + target);
                 return;
             }
-            instance.MainForm.ShowAgentProfile(instance.getAvatarName(id), id);
+            instance.MainForm.ShowAgentProfile(instance.Names.Get(id), id);
         }
     }
 }
\ No newline at end of file