mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 11:14: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:
@@ -1010,7 +1010,8 @@ class Irc:
|
||||
arg.remove(f':{self.Config.SERVICE_PREFIX}')
|
||||
if not arg[0].lower() in self.commands:
|
||||
self.Base.logs.debug(f"This command {arg[0]} is not available")
|
||||
return False
|
||||
self.sendNotice(f"This command [{self.Config.COLORS.bold}{arg[0]}{self.Config.COLORS.bold}] is not available", user_trigger)
|
||||
return None
|
||||
|
||||
cmd_to_send = convert_to_string.replace(':','')
|
||||
self.Base.log_cmd(user_trigger, cmd_to_send)
|
||||
|
||||
Reference in New Issue
Block a user