mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-03 08:04:07 +01:00
coreplugin: remove irc.connected check
This is misleading when the network fails to connect at daemon start, for example. Reverts parts ofc5acd5c
and2080a39
.
This commit is contained in:
parent
064cb9b6aa
commit
ef4cb8b773
@ -396,12 +396,3 @@ def rehash(irc, source, args):
|
||||
else:
|
||||
irc.reply("Done.")
|
||||
|
||||
def main(irc=None):
|
||||
# This is a global sanity check, to make sure the protocol module is doing
|
||||
# its job.
|
||||
if irc and not irc.connected.wait(2):
|
||||
log.warning('(%s) IRC network %s (protocol %s) has not set '
|
||||
'irc.connected state after 2 seconds - this may be a bug '
|
||||
'in the protocol module, and will cause plugins like '
|
||||
'relay to not work correctly!', irc.name, irc.name,
|
||||
irc.protoname)
|
||||
|
Loading…
Reference in New Issue
Block a user