aboutsummaryrefslogtreecommitdiff
path: root/modules/format_activity.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/format_activity.py')
-rw-r--r--modules/format_activity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/format_activity.py b/modules/format_activity.py
index 898c864e..78415a3a 100644
--- a/modules/format_activity.py
+++ b/modules/format_activity.py
@@ -78,7 +78,7 @@ class Module(ModuleManager.BaseModule):
def _on_part(self, event, user):
reason = event["reason"]
- reason = reason if not reason else " (%s)" % reason
+ reason = "" if not reason else " (%s)" % reason
line = "- %s left %s%s" % (user.nickname, event["channel"].name, reason)
self._event("part", event["server"], line, event["channel"].name,
channel=event["channel"], user=user)