Changeset 7b71feb for irc_channel.c
- Timestamp:
- 2010-05-13T23:34:38Z (14 years ago)
- Branches:
- master
- Children:
- 4469e7e
- Parents:
- ad404ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_channel.c
rad404ab r7b71feb 313 313 } 314 314 315 static gboolean groupchat_stub_join( irc_channel_t *ic ) 316 { 317 struct irc_groupchat_stub *igs = ic->data; 318 319 if( igs && igs->acc->ic && igs->acc->prpl->chat_join ) 320 { 321 ic->flags |= IRC_CHANNEL_CHAT_PICKME; 322 igs->acc->prpl->chat_join( igs->acc->ic, igs->room, ic->irc->user->nick, NULL ); 323 ic->flags &= ~IRC_CHANNEL_CHAT_PICKME; 324 return FALSE; 325 } 326 else 327 { 328 irc_send_num( ic->irc, 403, "%s :Can't join channel, account offline?", ic->name ); 329 return FALSE; 330 } 331 } 332 315 333 static const struct irc_channel_funcs groupchat_stub_funcs = { 316 334 NULL, 317 NULL,335 groupchat_stub_join, 318 336 NULL, 319 337 NULL,
Note: See TracChangeset
for help on using the changeset viewer.