summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-05-11 00:37:48 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-05-11 00:37:48 +0000
commit8df077426d5647188914b42ae1e54cff4c8a2cff (patch)
treec76e44bdac6618532c5b365293a647905dd70c3e /src
parent1acc2be4e30bf16ac1fd09ca44e1c8c82d9af46b (diff)
downloadirssi-8df077426d5647188914b42ae1e54cff4c8a2cff.zip
server_setup_add() now emits signal "server setup updated"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2771 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/core/servers-setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c
index 992f4e00..d16f93a7 100644
--- a/src/core/servers-setup.c
+++ b/src/core/servers-setup.c
@@ -466,6 +466,8 @@ void server_setup_add(SERVER_SETUP_REC *rec)
if (g_slist_find(setupservers, rec) == NULL)
setupservers = g_slist_append(setupservers, rec);
server_setup_save(rec);
+
+ signal_emit("server setup updated", 1, rec);
}
void server_setup_remove(SERVER_SETUP_REC *rec)