diff --git a/plugins/ThreadedFunCommands.py b/plugins/ThreadedFunCommands.py index 01b3b5592..a22eb04ed 100644 --- a/plugins/ThreadedFunCommands.py +++ b/plugins/ThreadedFunCommands.py @@ -68,7 +68,7 @@ class ThreadedFunCommands(callbacks.Privmsg): """takes no arguments""" conn = telnetlib.Telnet('kernel.org', 79) conn.write('\n') - text = connection.read_all() + text = conn.read_all() for line in text.splitlines(): (name, version) = line.split(':') if name.find('latest stable') != -1: