diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-02-18 07:58:03 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-02-18 07:58:03 +0100 |
commit | 832a4c1466ec5d0cff30a3ad5205de4c64178237 (patch) | |
tree | c3c566c14404529a22795d2e18c38852b5c7e94d /src/plugins/scripts/lua/weechat-lua-api.c | |
parent | b1e840eb6c896d15eb42afdd6a6a4ebddae5c5cc (diff) | |
download | weechat-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.c | 2 |
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); } |