diff --git a/coreplugin.py b/coreplugin.py index e546075..4eeac7a 100644 --- a/coreplugin.py +++ b/coreplugin.py @@ -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)