comparison plugins/napster.c @ 1329:e2d8b713d928

[gaim-migrate @ 1339] Properly handles being disconnected due to signing on twice :) committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Wed, 20 Dec 2000 07:51:30 +0000
parents 113a3d16f1ce
children 2e046be5e44a
comparison
equal deleted inserted replaced
1328:49d2eb2baf02 1329:e2d8b713d928
330 } 330 }
331 331
332 if (command == 0x12d) { 332 if (command == 0x12d) {
333 /* Our buddy was added successfully */ 333 /* Our buddy was added successfully */
334 free(buf); 334 free(buf);
335 return;
336 }
337
338 if (command == 0x2ec) {
339 /* Looks like someone logged in as us! =-O */
340 free(buf);
341
342 signoff(gc);
335 return; 343 return;
336 } 344 }
337 345
338 printf("NAP: [COMMAND: 0x%04x] %s\n", command, buf); 346 printf("NAP: [COMMAND: 0x%04x] %s\n", command, buf);
339 } 347 }