Permalink
Browse files

Fixed silly mistake, new release

  • Loading branch information...
1 parent 41dc995 commit 60872f5e52e30a60038da6fb10baad0ffbe9320b @murgo committed Apr 1, 2013
View
8 Irssi/irssinotifier.pl
@@ -6,15 +6,15 @@
use Encode;
use vars qw($VERSION %IRSSI);
-$VERSION = "14";
+$VERSION = "15";
%IRSSI = (
authors => "Lauri \'murgo\' Härsilä",
contact => "murgo\@iki.fi",
name => "IrssiNotifier",
description => "Send notifications about irssi highlights to server",
license => "Apache License, version 2.0",
url => "http://irssinotifier.appspot.com",
- changed => "2013-04-01"
+ changed => "2013-04-02"
);
my $lastMsg;
@@ -288,11 +288,11 @@ sub encrypt {
chdir();
my $fifo = ".irssinotifier_fifo";
- my $password_pid = fork();
-
unlink $fifo; # just in case
POSIX::mkfifo($fifo, 0700);
+ my $password_pid = fork();
+
if ($password_pid == 0) {
# child process
open (my $handle, "> $fifo"); # this line blocks until a reader (openssl) is spawned
View
5 Server/IrssiNotifierServer/html/index.html
@@ -172,6 +172,11 @@
<p class="answer">For latest developments, check project's <a href="https://github.com/murgo/irssinotifier">Github page</a>.<p>
+ <p class="question news">2.4.2013 Irssi script version 15 released</p>
+ <p class="answer news-content">
+ Slightly botched up the version 14 release, so version 15 contains some hotfixes.
+ </p>
+
<p class="question news">1.4.2013 Irssi script version 14 released</p>
<p class="answer news-content">
No, this is not an April Fools joke, I am actually releasing something. Lots of fixes and new features for the script, thanks to many people who have sent pull requests to me! Just follow the two simple steps on top of <a href="#help">help page</a> to update.
View
2 Server/IrssiNotifierServer/main.py
@@ -121,7 +121,7 @@ def get(self):
'login_url': users.create_login_url("#profile").replace("&", "&amp;"),
'logout_url': users.create_logout_url("").replace("&", "&amp;"),
'irssi_working': last_notification_time != 'Never',
- 'irssi_latest': irssi_script_version >= 14,
+ 'irssi_latest': irssi_script_version >= 15,
'registration_date': registration_date,
'last_notification_time': last_notification_time,
'notification_count': notification_count
View
8 Server/IrssiNotifierServer/script/irssinotifier.pl
@@ -6,15 +6,15 @@
use Encode;
use vars qw($VERSION %IRSSI);
-$VERSION = "14";
+$VERSION = "15";
%IRSSI = (
authors => "Lauri \'murgo\' Härsilä",
contact => "murgo\@iki.fi",
name => "IrssiNotifier",
description => "Send notifications about irssi highlights to server",
license => "Apache License, version 2.0",
url => "http://irssinotifier.appspot.com",
- changed => "2013-04-01"
+ changed => "2013-04-02"
);
my $lastMsg;
@@ -288,11 +288,11 @@ sub encrypt {
chdir();
my $fifo = ".irssinotifier_fifo";
- my $password_pid = fork();
-
unlink $fifo; # just in case
POSIX::mkfifo($fifo, 0700);
+ my $password_pid = fork();
+
if ($password_pid == 0) {
# child process
open (my $handle, "> $fifo"); # this line blocks until a reader (openssl) is spawned

0 comments on commit 60872f5

Please sign in to comment.