fix doc error: missing opening brace (Thanks bitonic)

This commit is contained in:
Michael Stapelberg 2012-11-03 11:47:27 +01:00
parent b008d8b2e9
commit 85e98d8d7d
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ key being the name of the event and the value being a callback.
workspace => sub { say "Workspaces changed" }
);
if ($i3->subscribe(\%callbacks)->recv->{success})
if ($i3->subscribe(\%callbacks)->recv->{success}) {
say "Successfully subscribed";
}