mirror of
https://github.com/evennia/evennia.git
synced 2026-04-06 07:57:16 +02:00
Fix bug in irc disconnect, trying to pass a reason when portal.disconnect does not support one.
This commit is contained in:
parent
6a621af4d7
commit
d012974650
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ class IRCBot(irc.IRCClient, Session):
|
|||
reason (str): Motivation for the disconnect.
|
||||
|
||||
"""
|
||||
self.sessionhandler.disconnect(self, reason=reason)
|
||||
self.sessionhandler.disconnect(self)
|
||||
self.stopping = True
|
||||
self.transport.loseConnection()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue