From 5c09a593072914336dcec3e8e92b28a1d4f03fa0 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 16 Nov 2005 00:16:39 +0100 Subject: Got rid of raw ^B's in source, Replaced most irc_usermsg() calls in nogaim.c with serv_got_crap(), Slightly clearer handling of buddy add requests. Thanks to timing for the patch. --- commands.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'commands.c') diff --git a/commands.c b/commands.c index 9c1a9aec..504a9345 100644 --- a/commands.c +++ b/commands.c @@ -336,7 +336,7 @@ int cmd_account( irc_t *irc, char **cmd ) } else { - irc_usermsg( irc, "Unknown command: account %s. Please use help commands to get a list of available commands.", cmd[1] ); + irc_usermsg( irc, "Unknown command: account %s. Please use \x02help commands\x02 to get a list of available commands.", cmd[1] ); } return( 1 ); @@ -737,7 +737,10 @@ int cmd_qlist( irc_t *irc, char **cmd ) irc_usermsg( irc, "Pending queries:" ); for( num = 0; q; q = q->next, num ++ ) - irc_usermsg( irc, "%d, %s", num, q->question ); + if( q->gc ) /* Not necessary yet, but it might come later */ + irc_usermsg( irc, "%d, %s(%s): %s", num, proto_name[q->gc->protocol], q->gc->username, q->question ); + else + irc_usermsg( irc, "%d, BitlBee: %s", num, q->question ); return( 0 ); } -- cgit v1.2.3