Don't exclude !commands from IRCBuffer objects
This commit is contained in:
parent
282bde82c5
commit
d3dda297e6
1 changed files with 0 additions and 2 deletions
|
@ -278,7 +278,6 @@ class Module(ModuleManager.BaseModule):
|
|||
event["target_str"], True, event["user"], command,
|
||||
args_split, event["tags"], hook,
|
||||
command_prefix=command_prefix)
|
||||
event["channel"].buffer.skip_next()
|
||||
else:
|
||||
regex_hooks = self.events.on("command.regex").get_hooks()
|
||||
for hook in regex_hooks:
|
||||
|
@ -319,7 +318,6 @@ class Module(ModuleManager.BaseModule):
|
|||
self.command(event["server"], event["user"],
|
||||
event["user"].nickname, False, event["user"], command,
|
||||
args_split, event["tags"], hook, command_prefix="")
|
||||
event["user"].buffer.skip_next()
|
||||
|
||||
def _get_usage(self, hook, command, command_prefix=""):
|
||||
command = "%s%s" % (command_prefix, command)
|
||||
|
|
Loading…
Reference in a new issue