aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-irc
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-irc')
-rwxr-xr-xbin/ak-irc12
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/ak-irc b/bin/ak-irc
index d894158..1713da6 100755
--- a/bin/ak-irc
+++ b/bin/ak-irc
@@ -29,9 +29,10 @@ PROGRAM=$(basename $0)
descriptionString="IRC"
# At least these
-source $AK_LIBDIR/_ak_log
-source $AK_LIBDIR/_ak_script
-source $AK_LIBDIR/_ak_irc
+source $AK_LIBDIR/_ak_lib_load
+_ak_lib_load _ak_log
+_ak_lib_load _ak_script
+_ak_lib_load _ak_irc
# Your stuff here...
example(){
@@ -45,7 +46,8 @@ then
-h | --help) _ak_usage; exit;;
--example) example; exit;;
--connect) _ak_irc_connect; exit;;
- * ) _ak_usage;;
+ * ) _ak_usage err;;
esac
-else _ak_usage
+else
+ _ak_usage err
fi