mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
chat filter err fix
This commit is contained in:
parent
a2628e716a
commit
39a0c3e1c3
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ def filter(msg,pb_id,client_id):
|
|||
_ba.screenmessage("Special role found, Warn BYPASSED!", color=(0,1,0), transient=True, clients=[client_id])
|
||||
|
||||
now = time.time()
|
||||
if pb_id not in serverdata.clients:
|
||||
return None
|
||||
|
||||
if "lastMsgTime" in serverdata.clients[pb_id]:
|
||||
count=serverdata.clients[pb_id]["cMsgCount"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue