summaryrefslogtreecommitdiff
path: root/dircpsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'dircpsa.c')
-rw-r--r--dircpsa.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/dircpsa.c b/dircpsa.c
index e68b91b..461c91d 100644
--- a/dircpsa.c
+++ b/dircpsa.c
@@ -67,11 +67,8 @@ int main (int argc, char *argv[])
return 1;
}
- if (irc_run(session)) {
- printf ("Could not connect or I/O error: %s\n"
- , irc_strerror(irc_errno(session)));
+ if (irc_run(session))
return 1;
- }
return 1;
}