Browse Source

更新 src/redis.cpp

1585346868 5 months ago
parent
commit
73993bf8c6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/redis.cpp

+ 2 - 1
src/redis.cpp

@@ -291,6 +291,7 @@ void module::redis_regist(sol::state* lua)
     );
     lua->new_usertype<module::redis>("fw_redis_conn",
         "command", &module::redis::command,
-        "command_ex", &module::redis::command_ex
+        "command_ex", &module::redis::command_ex,
+        "close", &module::redis::close
     );
 }