aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-04-01 17:40:55 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-04-01 17:40:55 +0200
commite6e1f1815e332f88be3c315f1f8cebf0047721f5 (patch)
tree1d511f907a44bb0ae4583946557b23659c544f34 /root_commands.c
parent7d31002c391868a24693eadaf1c9c6024e1a30cb (diff)
List header for "account list" in mode +b.
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/root_commands.c b/root_commands.c
index 56260d26..a29294a0 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -244,6 +244,9 @@ static void cmd_account( irc_t *irc, char **cmd )
{
int i = 0;
+ if( strchr( irc->umode, 'b' ) )
+ irc_usermsg( irc, "Account list:" );
+
for( a = irc->accounts; a; a = a->next )
{
char *con;