aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/commands/outs.py2
-rw-r--r--modules/line_handler/__init__.py7
2 files changed, 4 insertions, 5 deletions
diff --git a/modules/commands/outs.py b/modules/commands/outs.py
index e82537af..09d1c872 100644
--- a/modules/commands/outs.py
+++ b/modules/commands/outs.py
@@ -40,8 +40,8 @@ class Out(object):
else:
raise ValueError("Unknown command methd '%s'" % method)
+ line.truncate_marker = STR_MORE
if line.truncated():
- line.end_replace(STR_MORE)
self._text = "%s%s" % (STR_CONTINUED, line.truncated())
else:
self._text = ""
diff --git a/modules/line_handler/__init__.py b/modules/line_handler/__init__.py
index 44d1b621..3f18c891 100644
--- a/modules/line_handler/__init__.py
+++ b/modules/line_handler/__init__.py
@@ -33,10 +33,9 @@ class Module(ModuleManager.BaseModule):
@utils.hook("raw.send")
def handle_send(self, event):
- line = utils.irc.parse_line(event["line"])
- self.events.on("raw.send").on(line.command).call_unsafe(
- args=line.args, tags=line.tags, server=event["server"],
- direction=utils.Direction.SEND)
+ self.events.on("raw.send").on(event["line"].command).call_unsafe(
+ args=event["line"].args, tags=event["line"].tags,
+ server=event["server"], direction=utils.Direction.SEND)
# ping from the server
@utils.hook("raw.received.ping")