From ebe99f825c084eec78cd8b70783c182626e18150 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 16 Mar 2001 22:14:21 +0000 Subject: quit_message setting moved from irc to core git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1398 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/chat-commands.c | 2 ++ src/irc/core/irc-commands.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/chat-commands.c b/src/core/chat-commands.c index e14aa6b0..78a05a70 100644 --- a/src/core/chat-commands.c +++ b/src/core/chat-commands.c @@ -352,6 +352,8 @@ static void cmd_foreach_query(const char *data) void chat_commands_init(void) { + settings_add_str("misc", "quit_message", "leaving"); + command_bind("server", NULL, (SIGNAL_FUNC) cmd_server); command_bind("connect", NULL, (SIGNAL_FUNC) cmd_connect); command_bind("disconnect", NULL, (SIGNAL_FUNC) cmd_disconnect); diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c index 71aaa9d6..e8afab93 100644 --- a/src/irc/core/irc-commands.c +++ b/src/irc/core/irc-commands.c @@ -970,7 +970,6 @@ void irc_commands_init(void) { tmpstr = g_string_new(NULL); - settings_add_str("misc", "quit_message", "leaving"); settings_add_str("misc", "part_message", ""); settings_add_int("misc", "knockout_time", 300); settings_add_str("misc", "wall_format", "[Wall/$0] $1-"); -- cgit v1.2.3