mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-29 21:54:22 +01:00
Fixed an AttributeError (connection->conn)
This commit is contained in:
parent
6fa46793a0
commit
4b6f87f195
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user