Rev 4477 | Rev 4623 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4477 | Rev 4617 | ||
---|---|---|---|
Line 283... | Line 283... | ||
283 | cmp byte[usercommand+5], ' ' |
283 | cmp byte[usercommand+5], ' ' |
284 | jne .fail |
284 | jne .fail |
285 | cmp [socketnum], 0 |
285 | cmp [socketnum], 0 |
286 | je .dontsend |
286 | je .dontsend |
Line -... | Line 287... | ||
- | 287 | ||
287 | 288 | ; Request nickname change to server |
|
288 | mov dword[usercommand+1], 'NICK' |
289 | mov dword[usercommand+1], 'NICK' |
289 | mov esi, [edit1.size] |
290 | mov esi, [edit1.size] |
290 | mov word[usercommand + esi], 0x0a0d |
291 | mov word[usercommand + esi], 0x0a0d |
291 | inc esi |
292 | inc esi |
Line 292... | Line 293... | ||
292 | mcall send, [socketnum], usercommand+1, , 0 |
293 | mcall send, [socketnum], usercommand+1, , 0 |
Line 293... | Line 294... | ||
293 | 294 | ||
Line -... | Line 295... | ||
- | 295 | .fail: |
|
294 | .fail: |
296 | |
295 | 297 | ret |
|
296 | ret |
298 | |
297 | 299 | ; We arent logged in yet, directly change user_nick field and print notification to user. |
|
298 | .dontsend: |
300 | .dontsend: |