Fixed JOIN and PRIVMSG commands for IRCc.

git-svn-id: svn://kolibrios.org@3214 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-02-01 15:18:31 +00:00
parent 2b23283e96
commit 1632f80d55

View File

@ -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