summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@irssi.org>2011-11-21 21:27:58 +0000
committerahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564>2011-11-21 21:27:58 +0000
commit796134ffbd57eb47922bfa44a9823fae404ab522 (patch)
tree4d0d3175941b970e40f7a61e1fe46320885baf7d /src/perl
parent518b822db451a863b9496e985b10b88c50339582 (diff)
downloadirssi-796134ffbd57eb47922bfa44a9823fae404ab522.zip
Add -noautosendcmd to /SERVER and /CONNECT.
Passing this option will force Irssi to not execute the content of the autosendcmd chatnet-setting upon connect. Fixes: #738 git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5209 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/perl-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/perl/perl-common.c b/src/perl/perl-common.c
index daaa87f6..198da57d 100644
--- a/src/perl/perl-common.c
+++ b/src/perl/perl-common.c
@@ -301,6 +301,7 @@ void perl_connect_fill_hash(HV *hv, SERVER_CONNECT_REC *conn)
hv_store(hv, "reconnection", 12, newSViv(conn->reconnection), 0);
hv_store(hv, "no_autojoin_channels", 20, newSViv(conn->no_autojoin_channels), 0);
+ hv_store(hv, "no_autosendcmd", 14, newSViv(conn->no_autosendcmd), 0);
hv_store(hv, "unix_socket", 11, newSViv(conn->unix_socket), 0);
hv_store(hv, "use_ssl", 7, newSViv(conn->use_ssl), 0);
hv_store(hv, "no_connect", 10, newSViv(conn->no_connect), 0);