mirror of
https://github.com/a-bad-dev/irc2bash.git
synced 2026-06-09 00:51:32 +00:00
Fix INVITE code again
This adds it to the channel list so it gets PART'ed correctly
This commit is contained in:
parent
ca21c914ef
commit
608b8e3cad
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
|
@ -297,7 +297,8 @@ class Server():
|
||||||
if msg["message_source"] in self.opper_nicknames:
|
if msg["message_source"] in self.opper_nicknames:
|
||||||
print(f"[RECVTHREAD] Joining channel by opper command from {msg['message_source']}!")
|
print(f"[RECVTHREAD] Joining channel by opper command from {msg['message_source']}!")
|
||||||
self._send_q.put(f"JOIN {msg['params'][-1]}\r\n".encode())
|
self._send_q.put(f"JOIN {msg['params'][-1]}\r\n".encode())
|
||||||
|
self.channels.append(msg["params"][-1])
|
||||||
|
|
||||||
# This is where we actually run the RCE commands and pipe the output
|
# This is where we actually run the RCE commands and pipe the output
|
||||||
# back to IRC.
|
# back to IRC.
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue