Skip to content

Commit

Permalink
Remove force=True from main loop nick regaining
Browse files Browse the repository at this point in the history
  • Loading branch information
luk3yx committed Dec 14, 2022
1 parent 6dc1b9d commit a0fcb45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miniirc.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def _main(self):
# Attempt to change nicknames every 30 seconds
if (self._keepnick_active and
time.monotonic() > self._last_keepnick_attempt + 30):
self.send('NICK', self._desired_nick, force=True)
self.send('NICK', self._desired_nick)
self._last_keepnick_attempt = time.monotonic()

def wait_until_disconnected(self, *, _timeout=None):
Expand Down

0 comments on commit a0fcb45

Please sign in to comment.