Changeset 7821ee8 for irc_channel.c
- Timestamp:
- 2015-01-29T19:24:17Z (9 years ago)
- Branches:
- master
- Children:
- e41cc40
- Parents:
- 7b8238d
- git-author:
- jgeboski <jgeboski@…> (28-01-15 23:40:47)
- git-committer:
- jgeboski <jgeboski@…> (29-01-15 19:24:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_channel.c
r7b8238d r7821ee8 626 626 } 627 627 628 static void control_channel_kick( irc_channel_t *ic, irc_user_t *iu, const char *msg ) 629 { 630 struct irc_control_channel *icc = ic->data; 631 bee_user_t *bu = iu->bu; 632 633 if( bu == NULL ) 634 return; 635 636 if( icc->type != IRC_CC_TYPE_GROUP ) 637 { 638 irc_send_num( ic->irc, 482, "%s :Kicks are only possible to fill_by=group channels", ic->name ); 639 return; 640 } 641 642 bu->ic->acc->prpl->remove_buddy( bu->ic, bu->handle, 643 icc->group ? icc->group->name : NULL ); 644 } 645 628 646 static char *set_eval_by_account( set_t *set, char *value ); 629 647 static char *set_eval_fill_by( set_t *set, char *value ); … … 844 862 NULL, 845 863 control_channel_invite, 864 control_channel_kick, 846 865 847 866 control_channel_init,
Note: See TracChangeset
for help on using the changeset viewer.