.BANCHO. .FIX. Fix some issues with spaced usernames on IRC
This commit is contained in:
parent
f5a34d9048
commit
17a8636de7
|
@ -435,6 +435,7 @@ class Client:
|
|||
message = arguments[1]
|
||||
|
||||
# Send the message to bancho and reply
|
||||
recipient = chat.fixUsernameForBancho(recipient)
|
||||
response = chat.sendMessage(self.banchoUsername, recipient, message, toIRC=False)
|
||||
if response == 404:
|
||||
self.replyCode(404, "Cannot send to channel", channel=recipient)
|
||||
|
|
Loading…
Reference in New Issue
Block a user