mirror of
https://github.com/SantaSpeen/Rcon-VK-Bot.git
synced 2026-10-26 22:10:05 +00:00
whitelist fix
This commit is contained in:
1 parent
9f8ca2a984
commit
edf6fe6f92
1 file changed
+1
-1
@@ -65,7 +65,7 @@ def main():
|
|||||||
if text.startswith(".rcon "):
|
if text.startswith(".rcon "):
|
||||||
write(peer_id, f"rcon: {rcon(text[6:])}")
|
write(peer_id, f"rcon: {rcon(text[6:])}")
|
||||||
elif text.startswith(".wl "):
|
elif text.startswith(".wl "):
|
||||||
write(peer_id, f"Ok\n{rcon(text[4:])}")
|
write(peer_id, f"Ok\n{rcon(f'whitelist add {text[4:]}')}")
|
||||||
|
|
||||||
ts = lp.get('ts')
|
ts = lp.get('ts')
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user