summaryrefslogtreecommitdiff
path: root/dircpsa.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-01-13 10:10:25 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-01-13 10:10:25 +0800
commitf1478a3d6d6e84357f4f3c9871bec807e7c342c5 (patch)
tree974756df940c1841dac68ca0b8d9f7723e8ab2ee /dircpsa.c
parent021cc4edc3596b6813dd65830c053072f552d750 (diff)
When it quits IRC right, it shouldn't report error
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;
}