DrBotIRC: rename logger to drbotzo for clarity's sake
This commit is contained in:
parent
ad80d86a73
commit
2a0cd05cbc
|
@ -38,7 +38,7 @@ class DrBotzoMethods:
|
||||||
"""Store the same stuff the core module would, since we'll probably need it."""
|
"""Store the same stuff the core module would, since we'll probably need it."""
|
||||||
|
|
||||||
self.irc = irc
|
self.irc = irc
|
||||||
self.log = logging.getLogger('dr.botzo')
|
self.log = logging.getLogger('drbotzo')
|
||||||
|
|
||||||
def echo(self, message):
|
def echo(self, message):
|
||||||
"""
|
"""
|
||||||
|
@ -97,7 +97,7 @@ class DrBotServerConnection(irclib.ServerConnection):
|
||||||
|
|
||||||
# temporary. hopefully on_welcome() will set this
|
# temporary. hopefully on_welcome() will set this
|
||||||
self.nickmask = socket.getfqdn()
|
self.nickmask = socket.getfqdn()
|
||||||
self.log = logging.getLogger('dr.botzo')
|
self.log = logging.getLogger('drbotzo')
|
||||||
|
|
||||||
self.add_global_handler('welcome', self.on_welcome, 1)
|
self.add_global_handler('welcome', self.on_welcome, 1)
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ class DrBotIRC(irclib.IRC):
|
||||||
|
|
||||||
self.config = config
|
self.config = config
|
||||||
self.xmlrpc = None
|
self.xmlrpc = None
|
||||||
self.log = logging.getLogger('dr.botzo')
|
self.log = logging.getLogger('drbotzo')
|
||||||
|
|
||||||
# handle SIGINT
|
# handle SIGINT
|
||||||
signal.signal(signal.SIGINT, self.sigint_handler)
|
signal.signal(signal.SIGINT, self.sigint_handler)
|
||||||
|
|
Loading…
Reference in New Issue