Mercurial > pidgin.yaz
comparison src/protocols/irc/irc.c @ 2801:04f97d65bdc1
[gaim-migrate @ 2814]
I'm so damn lazy.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Tue, 27 Nov 2001 16:46:11 +0000 |
parents | 8f6365332a05 |
children | b917845dad3c |
comparison
equal
deleted
inserted
replaced
2800:0ad63a625eec | 2801:04f97d65bdc1 |
---|---|
1297 if (*word_eol[3]) | 1297 if (*word_eol[3]) |
1298 g_snprintf(buf, sizeof(buf), "KICK %s %s :%s\r\n", who, word[2], word_eol[3]); | 1298 g_snprintf(buf, sizeof(buf), "KICK %s %s :%s\r\n", who, word[2], word_eol[3]); |
1299 else | 1299 else |
1300 g_snprintf(buf, sizeof(buf), "KICK %s %s\r\n", who, word[2]); | 1300 g_snprintf(buf, sizeof(buf), "KICK %s %s\r\n", who, word[2]); |
1301 irc_write(id->fd, buf, strlen(buf)); | 1301 irc_write(id->fd, buf, strlen(buf)); |
1302 } else if (!g_strcasecmp(pdibuf, "JOIN")) { | 1302 } else if (!g_strcasecmp(pdibuf, "JOIN") || !g_strcasecmp(pdibuf, "J")) { |
1303 if (!*word[2]) | 1303 if (!*word[2]) |
1304 return -EINVAL; | 1304 return -EINVAL; |
1305 if (*word[3]) | 1305 if (*word[3]) |
1306 g_snprintf(buf, sizeof(buf), "JOIN %s %s\r\n", word[2], word[3]); | 1306 g_snprintf(buf, sizeof(buf), "JOIN %s %s\r\n", word[2], word[3]); |
1307 else | 1307 else |