aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorricho <richo@psych0tik.net>2011-07-18 02:52:26 +0000
committerricho <richo@psych0tik.net>2011-07-18 02:52:26 +0000
commit0ddd64b6e0405af84a95e5e5fce9d0840fa74da5 (patch)
tree90fe09a135840ea440ef93f80a81424f21a3febe
parentbit more cleanup on get_format_string (diff)
downloadirssi-scripts-0ddd64b6e0405af84a95e5e5fce9d0840fa74da5.tar.gz
irssi-scripts-0ddd64b6e0405af84a95e5e5fce9d0840fa74da5.zip
Retrieve channel data before attempting to work out channel list
-rw-r--r--auto-server/auto_server.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto-server/auto_server.pl b/auto-server/auto_server.pl
index 447a131..3d10272 100644
--- a/auto-server/auto_server.pl
+++ b/auto-server/auto_server.pl
@@ -104,8 +104,8 @@ sub haxy_print_hook {
sub parse_channel_map {
#my $data = Irssi::settings_get_str('joinplus_server_maps');
- unbind_completion();
my $data = retrieve_channels();
+ unbind_completion();
my @items = split /\s+/, $data;
if (@items % 2 == 0) {
$channel_map = { @items }; # risky?