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 /src/core/chat-commands.c | |
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
Diffstat (limited to 'src/core/chat-commands.c')
-rw-r--r-- | src/core/chat-commands.c | 2 |
1 files changed, 2 insertions, 0 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); |