1
0
Fork 0

Send directly a PONG instead of doing normal treat

This commit is contained in:
nemunaire 2014-05-27 16:05:26 +02:00
parent be1beec980
commit f8dbb7d2e1
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class Server(IRCServer.IRCServer):
try:
msg = message.Message (line, datetime.now(), private)
if msg.cmd == 'PING':
msg.treat (self.mods)
self.send_pong(msg.content)
elif msg.cmd == 'PRIVMSG' and self.accepted_channel(msg.channel):
if msg.nick != self.owner:
g_queue.append((self, msg))