irctk

libircclient binding for scripts
git clone https://a3nm.net/git/irctk/
Log | Files | Refs | README

commit b98c5aa6c54e16beff8d5c6214ba1b68aaaa5c35
parent 01f2608e4a80191ecef7274befa3292162211dbe
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 11 Jul 2012 23:24:51 +0200

cleanup

Diffstat:
irctk.c | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/irctk.c b/irctk.c @@ -1257,11 +1257,10 @@ void cmd_msg(char *full_line, char *target, char *line) args.last_chans_out[0] ? args.last_chans_out : first_chan(), line); case DEFAULT_ALL: - //TODO also for chans joined at runtime + //TODO also for chans joined at runtime? //TODO2: ugly, could have generated the comma-separated string //like for last_chans_out! - push_fifo_set_all(&fifos, full_line, args.channels, args.n_channels, line); - /* TODO return value */ + return push_fifo_set_all(&fifos, full_line, args.channels, args.n_channels, line); default: return; // won't happen @@ -1284,7 +1283,7 @@ void saw_user(const char *nick) { void manage_event (irc_session_t *session, const char *event, const char *origin, const char **params, unsigned int count) { - int rsl = 0; // TODO use + int rsl = 0; char temp[MAX_NICK_LEN+1]; saw_user(origin);