Mercurial > pidgin
comparison src/protocols/irc/parse.c @ 10208:cbdce0acbbe6
[gaim-migrate @ 11330]
This implements irc_ischannel for HEAD, and fixes /names
committer: Tailor Script <tailor@pidgin.im>
| author | Ethan Blanton <elb@pidgin.im> |
|---|---|
| date | Fri, 19 Nov 2004 16:42:07 +0000 |
| parents | 6ccd92a58cde |
| children | 357d4fa1bfbe |
comparison
equal
deleted
inserted
replaced
| 10207:9d03dd6ccc9a | 10208:cbdce0acbbe6 |
|---|---|
| 364 } | 364 } |
| 365 result[i] = '\0'; | 365 result[i] = '\0'; |
| 366 return result; | 366 return result; |
| 367 } | 367 } |
| 368 | 368 |
| 369 gboolean irc_ischannel(const char *string) | |
| 370 { | |
| 371 return (string[0] == '#' || string[0] == '&'); | |
| 372 } | |
| 373 | |
| 369 char *irc_parse_ctcp(struct irc_conn *irc, const char *from, const char *to, const char *msg, int notice) | 374 char *irc_parse_ctcp(struct irc_conn *irc, const char *from, const char *to, const char *msg, int notice) |
| 370 { | 375 { |
| 371 GaimConnection *gc; | 376 GaimConnection *gc; |
| 372 const char *cur = msg + 1; | 377 const char *cur = msg + 1; |
| 373 char *buf, *ctcp; | 378 char *buf, *ctcp; |
