comparison src/protocols/napster/napster.c @ 6622:a4622f1fb5a1

[gaim-migrate @ 7146] (10:10:23) Robot101: kills off OPT_CONN_* in favour of an enum, and deprecates all the IM_FLAGS_* except IM_FLAG_AWAY which is made into GAIM_IM_AUTO_RESP in a GaimImFlags enum. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 25 Aug 2003 14:12:28 +0000
parents 42fdf16f1dad
children 0c5637b5462e
comparison
equal deleted inserted replaced
6621:42fdf16f1dad 6622:a4622f1fb5a1
127 g_strfreev(res); 127 g_strfreev(res);
128 return 0; 128 return 0;
129 } 129 }
130 130
131 /* 205 - MSG_CLIENT_PRIVMSG */ 131 /* 205 - MSG_CLIENT_PRIVMSG */
132 static int nap_send_im(GaimConnection *gc, const char *who, const char *message, int len, int flags) 132 static int nap_send_im(GaimConnection *gc, const char *who, const char *message, int len, GaimImFlags flags)
133 { 133 {
134 134
135 if ((strlen(message) < 2) || (message[0] != '/' ) || (message[1] == '/')) { 135 if ((strlen(message) < 2) || (message[0] != '/' ) || (message[1] == '/')) {
136 /* Actually send a chat message */ 136 /* Actually send a chat message */
137 nap_write_packet(gc, 205, "%s %s", who, message); 137 nap_write_packet(gc, 205, "%s %s", who, message);