diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-12 23:32:03 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-13 00:13:14 +0200 |
commit | 606f0b1faab58b2b44bd60a9f3fe056706d1ab6e (patch) | |
tree | c7de2209e8791c92007ae0f0945cca41668e8d4b /degesch.c | |
parent | b9241bdef9183c29fb3b05bae9f0810f5dc306c0 (diff) | |
download | xK-606f0b1faab58b2b44bd60a9f3fe056706d1ab6e.tar.gz xK-606f0b1faab58b2b44bd60a9f3fe056706d1ab6e.tar.xz xK-606f0b1faab58b2b44bd60a9f3fe056706d1ab6e.zip |
degesch: fix /server add
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7466,11 +7466,11 @@ show_servers_list (struct app_context *ctx) static bool handle_server_add (struct handler_args *a) { - char *name = cut_word (&a->arguments); if (!*a->arguments) return false; struct app_context *ctx = a->ctx; + char *name = cut_word (&a->arguments); if (check_server_name_for_addition (ctx, name)) server_add_new (ctx, name); return true; |