diff options
-rw-r--r-- | root_commands.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/root_commands.c b/root_commands.c index 79fdcd80..62fe1f39 100644 --- a/root_commands.c +++ b/root_commands.c @@ -295,6 +295,11 @@ static void cmd_save(irc_t *irc, char **cmd) irc_rootmsg(irc, "Please create an account first (see \x02help register\x02)"); } else if (storage_save(irc, NULL, TRUE) == STORAGE_OK) { irc_rootmsg(irc, "Configuration saved"); + + if (irc->save_source_id != -1) { + b_event_remove(irc->save_source_id); + irc->save_source_id = -1; + } } else { irc_rootmsg(irc, "Configuration could not be saved!"); } |