]> jfr.im git - irc/quakenet/qwebirc.git/blame - run.sh
Modify standard getActiveWindow function so that it redirects messages to the correct...
[irc/quakenet/qwebirc.git] / run.sh
CommitLineData
9cdf0754
CP
1#!/bin/sh
2export PYTHONPATH=.:${PYTHONPATH}
676affb4
CP
3
4if [ -f "defargs.conf" ]; then
5 ARGS=$(cat defargs.conf)
6else
7 ARGS=
8fi
9
10PREARGS=
11if [ "$1" = "-n" ]; then
12 PREARGS=$1
13 shift
14fi
15
16if [ "$1" != "" ]; then
17 if [ "$ARGS" != "" ]; then
18 echo "Not using default arguments: $ARGS"
19 fi
20 ARGS=$*
21fi
22
fb6983bd 23twistd $PREARGS qwebirc -n $ARGS