Skip to content

Commit

Permalink
sasl: reset ping/pong after auth (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
gawel committed Dec 25, 2024
1 parent 76d6849 commit b5460c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions irc3/plugins/sasl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
import irc3
from irc3 import utils
import base64
__doc__ = '''
===================================================
Expand Down Expand Up @@ -60,4 +61,6 @@ def authenticate(self, **kwargs):

def cap_end(self, **kwargs):
self.bot.send_line('CAP END')
core = self.bot.get_plugin(utils.maybedotted('irc3.plugins.core.Core'))
core.pong(event='PING')
self.bot.detach_events(*self.events)

0 comments on commit b5460c0

Please sign in to comment.