summaryrefslogtreecommitdiff
path: root/src/core/channels-setup.c
AgeCommit message (Collapse)Author
2015-12-09Minor adjustments.LemonBoy
Use g_strcmp0 instead of strcmp. Explicit checks added for the g_strcmp0 clauses.
2015-12-09Rewrite some faulty logic handling the saved servers.LemonBoy
2015-12-09Better function namingLemonBoy
2015-12-09Rewrite some faulty logic handling the saved channels.LemonBoy
Issue #340 brought to our attention the fact that under certain circumstances irssi would go on a wild rampage and carelessly overwrite some saved channel records in the configuration file. This happened because the code didn't take into account the case where the channel index in setupchannels wouldn't match the one in the configuration; this actually happens when the user removes a chatnet without removing the associated channels.
2015-10-01Updated server removalisundil
Removing network will also remove attached channels
2015-02-17add CONFIG_REC to config_node_section* APIsAilin Nemui
this adds the CONFIG_REC * to the config_node_section and config_node_section_index APIs as they will require access to the config cache later on to make the config parser more robust.
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18channel_setup_create() didn't set record type.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2808 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15renamed old config_node_index() to config_node_nth(). added newTimo Sirainen
config_node_index() function. added config_node_section_index() for adding/moving node to specified position in list. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2460 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10Removed some old backwards compatibility code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2411 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02Comments are now allowed everywhere in config files.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17Config file: ircnets -> chatnets, added type = "chat protocol" toTimo Sirainen
chatnet config. Moved reading chatnets to core. Lots of other multiprotocol updates. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1237 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19put back ircnet -> chatnet backwards compatibility, this time modifyTimo Sirainen
the config file to use chatnet so after .98 we could remove this git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1016 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17removed backwards compatibility from ircnet -> chatnet changeTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1006 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26config changes, CONFIG_REC is now required parameter forTimo Sirainen
config_node_set_int/bool() and config_node_add_list() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@886 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-26backwards compatibility for s/ircnet/chanet/ change.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@673 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26Lots of moving stuff around - hopefully I didn't break too much :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564