aboutsummaryrefslogtreecommitdiffstats
path: root/filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter.c')
-rw-r--r--filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter.c b/filter.c
index 90b9d68..270f009 100644
--- a/filter.c
+++ b/filter.c
@@ -210,7 +210,7 @@ static inline int hook_lua_filter(lua_State *lua_state, void (*fn)(const char *t
210 str = lua_tostring(lua_state, 1); 210 str = lua_tostring(lua_state, 1);
211 if (!str) 211 if (!str)
212 return 0; 212 return 0;
213 213
214 save_filter_write = filter_write; 214 save_filter_write = filter_write;
215 save_filter = current_write_filter; 215 save_filter = current_write_filter;
216 unhook_write(); 216 unhook_write();