mirror of https://github.com/str4d/RelayBot.git
Specify reason when connection lost.
This commit is contained in:
parent
5973651f13
commit
1b1ecba711
|
@ -87,7 +87,7 @@ class IRCRelayer(irc.IRCClient):
|
|||
self.join(self.channel, "")
|
||||
|
||||
def connectionLost(self, reason):
|
||||
log.msg("[{0}] Connection lost.".format(self.network))
|
||||
log.msg("[{0}] Connection lost: \"{1}\"".format(self.network, reason))
|
||||
|
||||
def sayToChannel(self, message):
|
||||
self.say(self.channel, message)
|
||||
|
|
Loading…
Reference in New Issue