Archived
Minor change.
This commit is contained in:
1 parent
3806a8a08c
commit
81ffafad5f
1 file changed
+2
-2
@@ -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.
|
||||||
|
|||||||
Reference in new issue
Block a user