diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-02-21 20:29:55 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-02-21 20:29:55 +0000 |
commit | 559b651669b17ed8015cefc0e25a4ff52f9cdb45 (patch) | |
tree | 63a0aff6c3151da85f613423454c9df50f738fc5 /src/irc/irc-display.c | |
parent | 6199f9b629e406f90a17a998e80f37854ca27e60 (diff) | |
download | weechat-559b651669b17ed8015cefc0e25a4ff52f9cdb45.zip |
Fixed /connect and /disconnect commands, improved output of some commands
Diffstat (limited to 'src/irc/irc-display.c')
-rw-r--r-- | src/irc/irc-display.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/irc/irc-display.c b/src/irc/irc-display.c index e231027f7..6bcd216b8 100644 --- a/src/irc/irc-display.c +++ b/src/irc/irc-display.c @@ -149,7 +149,7 @@ irc_display_mode (t_gui_buffer *buffer, char *channel_name, char set_flag, void irc_display_server (t_irc_server *server) { - irc_display_prefix (NULL, PREFIX_INFO); + gui_printf (NULL, "\n"); gui_printf_color (NULL, COLOR_WIN_CHAT, _("Server: ")); gui_printf_color (NULL, COLOR_WIN_CHAT_CHANNEL, "%s", server->name); gui_printf_color (NULL, COLOR_WIN_CHAT_DARK, " ["); @@ -157,58 +157,46 @@ irc_display_server (t_irc_server *server) (server->is_connected) ? _("connected") : _("not connected")); gui_printf_color (NULL, COLOR_WIN_CHAT_DARK, "]\n"); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_autoconnect : %s%s\n", (server->autoconnect) ? _("yes") : _("no"), (server->command_line) ? _(" (temporary server, will not be saved)") : ""); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_autoreconnect . . .: %s\n", (server->autoreconnect) ? _("yes") : _("no")); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_autoreconnect_delay: %d seconds\n", server->autoreconnect_delay); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_address . . . . . .: %s\n", server->address); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_port . . . . . . .: %d\n", server->port); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_password . . . . .: %s\n", (server->password && server->password[0]) ? _("(hidden)") : ""); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_nick1/2/3 . . . . .: %s", server->nick1); gui_printf_color (NULL, COLOR_WIN_CHAT_DARK, " / "); gui_printf_color (NULL, COLOR_WIN_CHAT, "%s", server->nick2); gui_printf_color (NULL, COLOR_WIN_CHAT_DARK, " / "); gui_printf_color (NULL, COLOR_WIN_CHAT, "%s\n", server->nick3); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_username . . . . .: %s\n", server->username); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_realname . . . . .: %s\n", server->realname); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_command . . . . . .: %s\n", (server->command && server->command[0]) ? server->command : ""); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_command_delay . . .: %d seconds\n", server->command_delay); - irc_display_prefix (NULL, PREFIX_INFO); gui_printf_color (NULL, COLOR_WIN_CHAT, " server_autojoin . . . . .: %s\n", (server->autojoin && server->autojoin[0]) ? |