aboutsummaryrefslogtreecommitdiff
path: root/IRCBot.py
diff options
context:
space:
mode:
Diffstat (limited to 'IRCBot.py')
-rw-r--r--IRCBot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/IRCBot.py b/IRCBot.py
index c9306a4a..0cf36fd3 100644
--- a/IRCBot.py
+++ b/IRCBot.py
@@ -179,8 +179,8 @@ class Bot(object):
print("pingout from %s" % str(server))
server.disconnect()
elif server.ping_due() and not server.ping_sent:
- server.send_ping()
- server.ping_sent = True
+ server.send_ping()
+ server.ping_sent = True
if not server.connected:
self.disconnect(server)