comparison src/server.c @ 249:810c595258c8

[gaim-migrate @ 259] You can now get users' away messages. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 22 May 2000 01:18:32 +0000
parents cfc73b8501a7
children 4a41f8323022
comparison
equal deleted inserted replaced
248:cfc73b8501a7 249:810c595258c8
170 char buf[MSG_LEN]; 170 char buf[MSG_LEN];
171 #ifndef USE_OSCAR 171 #ifndef USE_OSCAR
172 g_snprintf(buf, MSG_LEN, "toc_get_info %s", normalize(name)); 172 g_snprintf(buf, MSG_LEN, "toc_get_info %s", normalize(name));
173 sflap_send(buf, -1, TYPE_DATA); 173 sflap_send(buf, -1, TYPE_DATA);
174 #else 174 #else
175 aim_getinfo(gaim_sess, gaim_conn, name); 175 aim_getinfo(gaim_sess, gaim_conn, name, AIM_GETINFO_GENERALINFO);
176 #endif
177 }
178
179 void serv_get_away_msg(char *name)
180 {
181 char buf[MSG_LEN];
182 #ifndef USE_OSCAR
183 /* HAHA! TOC doesn't have this yet */
184 #else
185 aim_getinfo(gaim_sess, gaim_conn, name, AIM_GETINFO_AWAYMESSAGE);
176 #endif 186 #endif
177 } 187 }
178 188
179 void serv_get_dir(char *name) 189 void serv_get_dir(char *name)
180 { 190 {