From 97c6a5d184b8e8c14689ddb99951ad4d71204002 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 5 Dec 2011 10:50:07 +0100 Subject: Change how script code is stored to the Script objects. The std::string code member is there for a reason you know... --- server/src/macroparser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/macroparser.cc') diff --git a/server/src/macroparser.cc b/server/src/macroparser.cc index d1604b2..7d3f367 100644 --- a/server/src/macroparser.cc +++ b/server/src/macroparser.cc @@ -114,7 +114,7 @@ void MacroParser::characterData(std::string &data) if(state == SCRIPT) { assert(current_script); // No script present! - current_script->attributes["code"].append(data); + current_script->code.append(data); } } -- cgit v1.2.3