Also set registration completed on missing MOTD.

This commit is contained in:
Shiz 2014-02-20 01:50:25 +01:00
parent 87541cf230
commit 1caf804fa1
1 changed files with 3 additions and 2 deletions

View File

@ -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()