diff options
author | Timo Sirainen <cras@irssi.org> | 2001-03-16 22:14:21 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-03-16 22:14:21 +0000 |
commit | ebe99f825c084eec78cd8b70783c182626e18150 (patch) | |
tree | 49b0c09a4485b8f4cd35304b076f09e2109b744c | |
parent | 9e1cbb2637a14ca06074a0280d9d7992d1d5d705 (diff) | |
download | irssi-ebe99f825c084eec78cd8b70783c182626e18150.zip |
quit_message setting moved from irc to core
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1398 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/core/chat-commands.c | 2 | ||||
-rw-r--r-- | src/irc/core/irc-commands.c | 1 |
2 files changed, 2 insertions, 1 deletions
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-"); |