TimeoutError
@ -140,7 +140,11 @@ def me(chan, msg):
def getData():
try:
raw = irc.recv(4096)
except TimeoutError:
print("Connection timed out!")
sys.exit(0)
if not raw:
print("Connection lost!")
The note is not visible to the blocked user.