Modify ↓
Opened at 2005-12-13T19:45:56Z
Last modified at 2008-06-04T15:46:54Z
#51 new defect
Allow /MODE [+-]b for blocking/allowing buddies
Reported by: | Jelmer Vernooij | Owned by: | |
---|---|---|---|
Priority: | wishlist | Milestone: | |
Component: | IRC | Version: | 1.0 |
Keywords: | Cc: | ||
IRC client+version: | Client-independent | Operating System: | Public server |
OS version/distro: |
Description
It'd be nice and intuitive to allow /MODE [+-]b to be used to block and allow IM users. We'd probably have to do pattern matching on the hostmask of all bitlbee users, but that shouldn't be much of a problem.
Attachments (0)
Change History (4)
comment:1 Changed at 2005-12-13T19:49:22Z by
comment:2 Changed at 2006-12-05T21:56:02Z by
And mapping /invite to add command? :) It would be nice to get rid of the awkward command system with root and just use the irc commands that make sense in their place.
comment:3 Changed at 2006-12-06T10:48:31Z by
/KICK -> remove command:
irc_commands.c, Declare command:
{ "kick", 0, irc_cmd_kick, IRC_CMD_LOGGED_IN },
void irc_cmd_kick:
static void irc_cmd_kick ( irc_t *irc, char **cmd ) { user_t *u ; char *s; if( !( u = user_find( irc, cmd[2] ) ) ) { irc_reply( irc, 401, "%s :Nick does not exist", cmd[2] ); return; } s = g_strdup( u->handle ); u->gc->acc->prpl->remove_buddy( u->gc, u->handle, NULL ); nick_del( u->gc->acc, u->handle ); user_del( irc, cmd[2] ); //irc_usermsg( irc, "Buddy `%s' (nick %s) removed from contact list", s, cmd[1] ); irc_write( irc, ":%s!%s@%s KICK %s %s :%s", irc->nick, irc->user, irc->myhost, irc->channel, u->nick, u->nick ); g_free( s ); return; }
comment:4 Changed at 2007-12-04T00:02:54Z by
Component: | BitlBee → IRC |
---|
Note: See
TracTickets for help on using
tickets.
Mapping /KICK to a remove command would also be nice.