Closed Lapparrr closed 1 year ago
hi, I ran into a problem when a user's subscription ends, then wireguard crashes. In the conf, I noticed that the script does not comment on all lines, and as a result, a broken config turns out. So here's a little bit to fix. https://github.com/PheeZz/wireguard-bot/blob/7615935c8ad3f4d0fbc50867b2f1672ffb5a0263/utils/vpn_cfg_work.py#L211
hi, I ran into a problem when a user's subscription ends, then wireguard crashes. In the conf, I noticed that the script does not comment on all lines, and as a result, a broken config turns out. So here's a little bit to fix. https://github.com/PheeZz/wireguard-bot/blob/7615935c8ad3f4d0fbc50867b2f1672ffb5a0263/utils/vpn_cfg_work.py#L211