Update on_version method

This commit is contained in:
adator
2024-11-22 23:26:39 +01:00
parent f7664c9874
commit a3edf48120
2 changed files with 5 additions and 9 deletions

View File

@@ -2,9 +2,6 @@ from re import match, findall, search
from datetime import datetime from datetime import datetime
from typing import TYPE_CHECKING, Union from typing import TYPE_CHECKING, Union
from ssl import SSLEOFError, SSLError from ssl import SSLEOFError, SSLError
from dataclasses import dataclass
from websockets import serve
if TYPE_CHECKING: if TYPE_CHECKING:
from core.irc import Irc from core.irc import Irc
@@ -865,11 +862,10 @@ class Unrealircd6:
try: try:
srv_msg = serverMsg.copy() srv_msg = serverMsg.copy()
# Supprimer la premiere valeur cmd = serverMsg.copy()
if srv_msg[0].startswith('@'): # Supprimer la premiere valeur si MTAGS activé
srv_msg.pop(0) if cmd[0].startswith('@'):
cmd.pop(0)
cmd = srv_msg
# Hide auth logs # Hide auth logs
if len(cmd) == 7: if len(cmd) == 7:

View File

@@ -1,5 +1,5 @@
{ {
"version": "6.0.4", "version": "6.0.5",
"requests": "2.32.3", "requests": "2.32.3",
"psutil": "6.0.0", "psutil": "6.0.0",