forked from KolibriOS/kolibrios
Fixed JOIN and PRIVMSG commands for IRCc.
git-svn-id: svn://kolibrios.org@3214 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
2b23283e96
commit
1632f80d55
@ -41,7 +41,7 @@ server_parser:
|
||||
ret
|
||||
|
||||
.got_cmd:
|
||||
jmp dword[edi]
|
||||
jmp dword[edi]
|
||||
|
||||
|
||||
server_commands:
|
||||
@ -195,6 +195,8 @@ cmd_ping:
|
||||
|
||||
cmd_privmsg:
|
||||
|
||||
add esi, 8 ; skip 'PRIVMSG '
|
||||
|
||||
; Check if it was destined for me privately
|
||||
mov edi, servercommand+1
|
||||
call compare_to_nick
|
||||
@ -490,6 +492,8 @@ cmd_join:
|
||||
mov [ebx + window.data_ptr], eax
|
||||
mov [ebx + window.type], WINDOWTYPE_CHANNEL
|
||||
mov [ebx + window.flags], 0
|
||||
|
||||
add esi, 5 ; skip 'JOIN ' ; FIXME: perhaps scan for spaces instead?
|
||||
call window_set_name
|
||||
|
||||
mov [window_open], ebx
|
||||
|
Loading…
Reference in New Issue
Block a user