diff options
Diffstat (limited to 'src')
-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-"); |