From fcba75bf024dff0b204546d23e1d5ead5968a48d Mon Sep 17 00:00:00 2001
From: wushin <pasekei@gmail.com>
Date: Sun, 26 Apr 2015 22:05:54 -0500
Subject: Remove braces and jname from getitemlink

---
 src/map/script-fun.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/map')

diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp
index 3b814aa..4cb4448 100644
--- a/src/map/script-fun.cpp
+++ b/src/map/script-fun.cpp
@@ -2311,11 +2311,11 @@ void builtin_getitemlink(ScriptState *st)
     {
         OMATCH_CASE_SOME (item_data)
         {
-            buf = STRPRINTF("[@@%d|%s@@]"_fmt, item_data->nameid, item_data->jname);
+            buf = STRPRINTF("@@%d|@@"_fmt, item_data->nameid);
         }
         OMATCH_CASE_NONE ()
         {
-            buf = STRPRINTF("Unknown Item: %s"_fmt, name);
+            buf = "Unknown Item"_s;
         }
     }
     OMATCH_END ();
-- 
cgit v1.2.3-70-g09d2