summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-18 23:55:47 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-18 23:55:47 +0200
commitcd21d1b623b0dc7c2d0d6e9f890ad25fb8d83c5a (patch)
treebb638148ebf88f63a1dab8001d077c781b415b4e /src/common
parent41e4b3a59cc3d3687c2b42c6a40348e3b1fc388a (diff)
Get rid of saveconf remnants, we save automatically
Diffstat (limited to 'src/common')
-rw-r--r--src/common/outbound.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index d5dbdc49..aca8b3f3 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -2940,23 +2940,6 @@ cmd_recv (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 	return FALSE;
 }
 
-#if 0 /* manual command for flushing prefs to disk, but we use an autosave-upon-set approach instead */
-static int
-cmd_saveconf (struct session *sess, char *tbuf, char *word[], char *word_eol[])
-{
-	if (save_config ())
-	{
-		PrintText (sess, "Settings have been saved successfully.\n");
-	}
-	else
-	{
-		PrintText (sess, "Error saving settings.\n");
-	}
-
-	return TRUE;
-}
-#endif
-
 static int
 cmd_say (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 {
@@ -3714,9 +3697,6 @@ const struct commands xc_cmds[] = {
 #endif
 	{"RECV", cmd_recv, 1, 0, 1, N_("RECV <text>, send raw data to xchat, as if it was received from the irc server")},
 
-#if 0
-	{"SAVECONF", cmd_saveconf, 0, 0, 1, N_("SAVECONF, saves the current settings to disk")},
-#endif
 	{"SAY", cmd_say, 0, 0, 1,
 	 N_("SAY <text>, sends the text to the object in the current window")},
 	{"SEND", cmd_send, 0, 0, 1, N_("SEND <nick> [<file>]")},