From ccad21370b1cbb947a5601b6b89f4fcf9ef380e1 Mon Sep 17 00:00:00 2001 From: Shiz Date: Thu, 20 Feb 2014 01:45:38 +0100 Subject: [PATCH] Rename UNREGISTERED_NICKNAME to DEFAULT_NICKNAME. --- pydle/client.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pydle/client.py b/pydle/client.py index 2ec69f6..7b5f4b4 100644 --- a/pydle/client.py +++ b/pydle/client.py @@ -9,11 +9,10 @@ from . import connection from . import protocol __all__ = [ 'AlreadyInChannel', 'NotInChannel', 'BasicClient' ] -UNREGISTERED_NICKNAME = '' PING_DELAY = 30 PING_TIMEOUT = 180 PING_IDENTIFIER = 'pydle-ping-timeout' - +DEFAULT_NICKNAME = '' class IRCError(Exception): """ Base class for all pydle errors. """ @@ -65,7 +64,7 @@ class BasicClient: self.logger = logging.getLogger(__name__) # Public connection attributes. - self.nickname = UNREGISTERED_NICKNAME + self.nickname = DEFAULT_NICKNAME self.network = None def _reset_connection_attributes(self):