From 1caf804fa143d9bbdb5b9659c0dcba97e0874598 Mon Sep 17 00:00:00 2001 From: Shiz Date: Thu, 20 Feb 2014 01:50:25 +0100 Subject: [PATCH] Also set registration completed on missing MOTD. --- pydle/features/rfc1459/client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pydle/features/rfc1459/client.py b/pydle/features/rfc1459/client.py index 335f15c..32bcff3 100644 --- a/pydle/features/rfc1459/client.py +++ b/pydle/features/rfc1459/client.py @@ -320,8 +320,8 @@ class RFC1459Support(BasicClient): ## IRC helpers. - def normalize(self, s): - return parsing.normalize(s, case_mapping=self._case_mapping) + def normalize(self, input): + return parsing.normalize(input, case_mapping=self._case_mapping) def is_channel(self, chan): """ Check if given argument is a channel name or not. """ @@ -825,6 +825,7 @@ class RFC1459Support(BasicClient): def on_raw_422(self, message): """ MOTD is missing. """ + self._registration_completed(message) self.motd = None self.on_connect()