We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa194e1 commit 62fdea2Copy full SHA for 62fdea2
irc_client.py
@@ -337,9 +337,9 @@ def _handle_user_input(self, input_chunk):
337
self._client_error_handler('Must join a channel to chat')
338
return
339
340
- message = '{command} {args}{end}'.format(command=server_command,
341
- args=command_args,
342
- end=MESSAGE_END)
+ message_content = '{command} {args}'.format(command=server_command,
+ args=command_args).strip()
+ message = message_content + MESSAGE_END
343
return self.client_socket.send(message)
344
345
def _message_handler(self, message_code, message_text):
0 commit comments