comparison src/protocols/irc/irc.c @ 6179:16e384bb7fbf

[gaim-migrate @ 6664] Core/UI split the core initialization and shutdown. I think I got all the bugs worked out. It's looking nice and stable here, but if it causes CVS to go to hell for everyone.. er, try to fix it or let me know :) I don't have this in patch form. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 17 Jul 2003 10:35:43 +0000
parents 2cd7c409d71d
children ac191233b816
comparison
equal deleted inserted replaced
6178:06e28a7b72c3 6179:16e384bb7fbf
25 #include "internal.h" 25 #include "internal.h"
26 26
27 #include "account.h" 27 #include "account.h"
28 #include "accountopt.h" 28 #include "accountopt.h"
29 #include "conversation.h" 29 #include "conversation.h"
30 #include "core.h"
30 #include "debug.h" 31 #include "debug.h"
31 #include "ft.h" 32 #include "ft.h"
32 #include "multi.h" 33 #include "multi.h"
33 #include "notify.h" 34 #include "notify.h"
34 #include "proxy.h" 35 #include "proxy.h"
2309 g_snprintf(buf, sizeof(buf), "LIST\r\n"); 2310 g_snprintf(buf, sizeof(buf), "LIST\r\n");
2310 irc_write(id->fd, buf, strlen(buf)); 2311 irc_write(id->fd, buf, strlen(buf));
2311 } else if (!g_ascii_strcasecmp(pdibuf, "QUIT")) { 2312 } else if (!g_ascii_strcasecmp(pdibuf, "QUIT")) {
2312 char *reason = word_eol[2]; 2313 char *reason = word_eol[2];
2313 id->str = g_string_insert(id->str, 0, reason); 2314 id->str = g_string_insert(id->str, 0, reason);
2314 do_quit(); 2315 gaim_core_quit();
2315 } else if (!g_ascii_strcasecmp(pdibuf, "VERSION")) { 2316 } else if (!g_ascii_strcasecmp(pdibuf, "VERSION")) {
2316 g_snprintf(buf, sizeof(buf), "VERSION\r\n"); 2317 g_snprintf(buf, sizeof(buf), "VERSION\r\n");
2317 irc_write(id->fd, buf, strlen(buf)); 2318 irc_write(id->fd, buf, strlen(buf));
2318 } else if (!g_ascii_strcasecmp(pdibuf, "W")) { 2319 } else if (!g_ascii_strcasecmp(pdibuf, "W")) {
2319 g_snprintf(buf, sizeof(buf), "WHO *\r\n"); 2320 g_snprintf(buf, sizeof(buf), "WHO *\r\n");