.BANCHO. .FIX. Never kill IRC

This commit is contained in:
Nyo 2016-07-16 23:23:14 +02:00
parent d83bafd12a
commit 77178a8ce0
2 changed files with 8 additions and 7 deletions

View File

@ -414,6 +414,7 @@ class Client:
def noticePrivmsgHandler(self, command, arguments): def noticePrivmsgHandler(self, command, arguments):
"""NOTICE and PRIVMSG commands handler (same syntax)""" """NOTICE and PRIVMSG commands handler (same syntax)"""
meme()
# Syntax check # Syntax check
if len(arguments) == 0: if len(arguments) == 0:
self.replyCode(411, "No recipient given ({})".format(command)) self.replyCode(411, "No recipient given ({})".format(command))
@ -592,8 +593,8 @@ class Server:
lastAliveCheck = time.time() lastAliveCheck = time.time()
# Main server loop # Main server loop
try:
while True: while True:
try:
(iwtd, owtd, ewtd) = select.select( (iwtd, owtd, ewtd) = select.select(
[serversocket] + [x.socket for x in self.clients.values()], [serversocket] + [x.socket for x in self.clients.values()],
[x.socket for x in self.clients.values() [x.socket for x in self.clients.values()

View File

@ -1 +1 @@
1.6.5 1.6.6