diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2005-11-16 00:16:39 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2005-11-16 00:16:39 +0100 |
commit | 5c09a593072914336dcec3e8e92b28a1d4f03fa0 (patch) | |
tree | fe3ebb4b78e2dbfe229e57e058cb16c3ae331e4d /commands.c | |
parent | 9cb9868256c51a45983aac894428230de6035d79 (diff) |
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.
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 ); } |