aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sircbot.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sircbot.c b/sircbot.c
index 9ec515a..1f3f5cc 100644
--- a/sircbot.c
+++ b/sircbot.c
@@ -590,7 +590,7 @@ int main(int argc, char *argv[])
int i, c, port = 6667, multimode = 0;
sb.runhooks = 1;
- while ((c = getopt(argc, argv, "fl:mn:Np:P:r:s:")) != -1) {
+ while ((c = getopt(argc, argv, "fl:mn:Np:P:r:s:u:")) != -1) {
switch (c) {
case 'f':
foreground = 1;
@@ -619,6 +619,9 @@ int main(int argc, char *argv[])
case 's':
server = optarg;
break;
+ case 'u':
+ user = optarg;
+ break;
default:
usage_exit(1);
}