aboutsummaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-11-19 16:17:03 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-11-19 16:17:03 +0100
commit2cdd8ce76ce334327c84516ff78f3b00bef5bebf (patch)
treea5bdc219317a085c38fbd8d4c3b9242e32f68cde /commands.c
parentc998255d6aa501281c6266a5f1dce69d4c3afab4 (diff)
parent94281efa4280bd3ef1cecb7cd22deca03ecb5935 (diff)
Merge Wilmer
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/commands.c b/commands.c
index 09fd6a91..e099d635 100644
--- a/commands.c
+++ b/commands.c
@@ -325,7 +325,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 );
@@ -726,7 +726,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, q->gc->prpl->name, q->gc->username, q->question );
+ else
+ irc_usermsg( irc, "%d, BitlBee: %s", num, q->question );
return( 0 );
}