mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Fix another issue with IPv6 users - commands being ignored
This commit is contained in:
parent
92bf49a4c4
commit
d5d0801807
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ class IRCNetwork(Network):
|
|||
elif action == 'PRIVMSG':
|
||||
self.update_last_active_time(chan,GetNick(who))
|
||||
# resplit to avoid splitting text that contains ':'
|
||||
text = data.split(':',2)[2]
|
||||
text = data.split(' :',1)[1]
|
||||
exidx = text.find('!')
|
||||
if exidx != -1 and len(text)>exidx+1 and text[exidx+1] in string.ascii_letters and self.is_acceptable_command_prefix(text[:exidx]):
|
||||
cmd = text.split('!')[1]
|
||||
|
|
Loading…
Reference in a new issue