瀏覽代碼

vcc: bug fix

intirain 4 年之前
父節點
當前提交
743dac5c2d
共有 3 個文件被更改,包括 4 次插入 和 2 次删除
  1. 1 1
      Makefile
  2. 1 1
      include/vcc/version.h
  3. 2 0
      plugins/ban/ban.c

+ 1 - 1
Makefile

@@ -1,6 +1,6 @@
 VCC_MAJOR 		= 1
 VCC_MINOR 		= 38
-VCC_PATCH 		= 1
+VCC_PATCH 		= 2
 VCC_STR 		= -rc
 
 # change this to '/usr/share/' or '/opt/vcc/' etc

+ 1 - 1
include/vcc/version.h

@@ -1,2 +1,2 @@
-#define VCC_VERSION "vcc 1.38.1 Wed Jul  6 01:32:36 PM CST 2022 root"
+#define VCC_VERSION "vcc 1.38.1 Wed Jul  6 03:39:42 PM CST 2022 root"
 #define VCC_SEMVER "vcc 1.38.1-rc"

+ 2 - 0
plugins/ban/ban.c

@@ -142,6 +142,8 @@ static int ban_ban(int argc, char **argv) {
 }
 
 int do_cmd_ban(int argc, char **argv) {
+	plg_check_enabled();
+
 	if (cmd_noptions > 1) 
 		goto bad_usage;
 	if (cmd_options['b'])