mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
V5.3.5:
- core/irc.py : Nothing special except
a notice sent to the user that the command
is not available
- mod_clone:
When the user unload the module, the
server will unset modes of #clone channel
- mod_defender:
* adding a try block to catch errors
* adding a mode block to check if
the jail channel is not having +b mode
* ensure defender is +o in jail channel
- mod_test:
* adding some try block to catch errors
This commit is contained in:
@@ -128,6 +128,10 @@ class Test():
|
||||
cmd = list(data).copy()
|
||||
|
||||
return None
|
||||
except KeyError as ke:
|
||||
self.Base.logs.error(f"Key Error: {ke}")
|
||||
except IndexError as ie:
|
||||
self.Base.logs.error(f"{ie} / {cmd} / length {str(len(cmd))}")
|
||||
except Exception as err:
|
||||
self.Base.logs.error(f"General Error: {err}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user