summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-24 16:47:13 +0100
committerwm4 <wm4@nowhere>2014-11-24 16:47:13 +0100
commit0c5fd5a04719a6a7ae63df40bf2f9cac27b14862 (patch)
tree0c7a8e2d9b17f7f45e4dd04d9ab7814deac949fe
parent89c1525585aae363dc57bd1e4510de8e6da2f480 (diff)
downloadmpv-0c5fd5a04719a6a7ae63df40bf2f9cac27b14862.tar.bz2
mpv-0c5fd5a04719a6a7ae63df40bf2f9cac27b14862.tar.xz
lua: remove redundant call
-rw-r--r--player/lua/defaults.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/player/lua/defaults.lua b/player/lua/defaults.lua
index 55f5bddf39..ff70352011 100644
--- a/player/lua/defaults.lua
+++ b/player/lua/defaults.lua
@@ -190,7 +190,6 @@ local function add_binding(attrs, key, name, fn, rp)
key_bindings[name] = attrs
update_key_bindings()
dispatch_key_bindings[name] = key_cb
- mp.unregister_script_message(name)
mp.register_script_message(name, msg_cb)
end