From 08b4d94695f29912caa917d2d0e4617267ad5bcc Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 27 Nov 2018 13:16:19 +0000 Subject: [PATCH] Fix missing spaces in some event calls in line_handler.py --- modules/line_handler.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/line_handler.py b/modules/line_handler.py index 58dd53ac..80cb1db5 100644 --- a/modules/line_handler.py +++ b/modules/line_handler.py @@ -236,7 +236,7 @@ class Module(ModuleManager.BaseModule): channel = event["server"].channels.add(channel_name) if channel.name in event["server"].attempted_join: del event["server"].attempted_join[channel.name] - self._event(event,"self.join", channel=channel, + self._event(event, "self.join", channel=channel, server=event["server"], account=account, realname=realname) channel.send_mode() @@ -255,7 +255,7 @@ class Module(ModuleManager.BaseModule): if not len(user.channels): event["server"].remove_user(user) else: - self._event(event,"self.part", channel=channel, reason=reason, + self._event(event, "self.part", channel=channel, reason=reason, server=event["server"]) event["server"].channels.remove(channel) @@ -346,7 +346,7 @@ class Module(ModuleManager.BaseModule): old_nickname = event["server"].nickname event["server"].set_own_nickname(new_nickname) - self._event(event,"self.nick", server=event["server"], + self._event(event, "self.nick", server=event["server"], new_nickname=new_nickname, old_nickname=old_nickname) # something's mode has changed @@ -378,7 +378,7 @@ class Module(ModuleManager.BaseModule): remove = chunk[0] == "-" for mode in chunk[1:]: event["server"].change_own_mode(remove, mode) - self._event(event,"self.mode", modes=modes, server=event["server"]) + self._event(event, "self.mode", modes=modes, server=event["server"]) # someone (maybe me!) has been invited somewhere @utils.hook("raw.received.invite") @@ -631,7 +631,7 @@ class Module(ModuleManager.BaseModule): self._event(event, "kick", channel=channel, reason=reason, target_user=target_user, user=user, server=event["server"]) else: - self._event(event,"self.kick", channel=channel, reason=reason, + self._event(event, "self.kick", channel=channel, reason=reason, user=user, server=event["server"]) # a channel has been renamed