Minor change.

This commit is contained in:
nikolark committed 2011-09-29 04:01:17 +02:00
1 parent 3806a8a08c
commit 81ffafad5f
1 file changed
+2 -2
+2 -2
View File
@@ -70,9 +70,9 @@ class ping:
def send_to_irc(self, data): def send_to_irc(self, data):
# Send the message to snurr via UDP. # Send the message to snurr via UDP.
irc_data = self.format_for_irc(data) data = self.format_for_irc(data)
udp = socket(AF_INET, SOCK_DGRAM) udp = socket(AF_INET, SOCK_DGRAM)
udp.sendto(irc_data, ('nintendo.neuf.no', 55666)) udp.sendto(data, ('nintendo.neuf.no', 55666))
def log(self, msg): def log(self, msg):
# Log pings. # Log pings.