aboutsummaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-20 11:55:58 +0100
committerGravatar jesopo2019-06-20 11:55:58 +0100
commitd3dda297e6c9f5712e67dbbc1caa47bc732ea55d (patch)
tree98fc91fb22ed4c3f322135efd651d487928b3607 /modules/commands
parentMove !ignore logic to it's own file (diff)
signature
Don't exclude !commands from IRCBuffer objects
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py
index 0ef6cd32..2556d400 100644
--- a/modules/commands/__init__.py
+++ b/modules/commands/__init__.py
@@ -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)