Quellcode durchsuchen

更新 src/redis.cpp

1585346868 vor 5 Monaten
Ursprung
Commit
73993bf8c6
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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
     );
 }