Skip to content

Commit

Permalink
Make the default port (9999) documented and used consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
tadzik committed Jul 21, 2021
1 parent 6592d01 commit 530fb46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/bridge_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Execute the following command:
node app.js -r -f appservice-registration-irc.yaml -u "http://where.the.appservice.listens:9999" -c config.yaml -l my_bot
```

Change `-u "http://localhost:8090"` to whereever your Matrix server can contact this IRC bridge.
Change `-u "http://localhost:9999"` to wherever your Matrix server can contact this IRC bridge.
By changing the option `-l my_bot` you can modify the localpart of the bridge bot user. It contacts
Matrix users of your bridge to control their usage of the bridge (e.g. to change their nickname).

Expand Down
2 changes: 1 addition & 1 deletion src/bridge/IrcBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import { RoomConfig } from "./RoomConfig";
import { PrivacyProtection } from "../irc/PrivacyProtection";

const log = getLogger("IrcBridge");
const DEFAULT_PORT = 8090;
const DEFAULT_PORT = 9999;
const DELAY_TIME_MS = 10 * 1000;
const DELAY_FETCH_ROOM_LIST_MS = 3 * 1000;
const DEAD_TIME_MS = 5 * 60 * 1000;
Expand Down

0 comments on commit 530fb46

Please sign in to comment.