summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/lua/weechat-lua-api.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-02-18 07:58:03 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-02-18 07:58:03 +0100
commit832a4c1466ec5d0cff30a3ad5205de4c64178237 (patch)
treec3c566c14404529a22795d2e18c38852b5c7e94d /src/plugins/scripts/lua/weechat-lua-api.c
parentb1e840eb6c896d15eb42afdd6a6a4ebddae5c5cc (diff)
downloadweechat-832a4c1466ec5d0cff30a3ad5205de4c64178237.zip
Fix function "color" in Lua script API (patch from Christian Heinz)
Diffstat (limited to 'src/plugins/scripts/lua/weechat-lua-api.c')
-rw-r--r--src/plugins/scripts/lua/weechat-lua-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua-api.c b/src/plugins/scripts/lua/weechat-lua-api.c
index d166782b9..7554070b8 100644
--- a/src/plugins/scripts/lua/weechat-lua-api.c
+++ b/src/plugins/scripts/lua/weechat-lua-api.c
@@ -2875,7 +2875,7 @@ weechat_lua_api_color (lua_State *L)
color = lua_tostring (lua_current_interpreter, -1);
- result = weechat_prefix (color);
+ result = weechat_color (color);
LUA_RETURN_STRING(result);
}