We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d6fa5f commit cf04327Copy full SHA for cf04327
src/IRCBridge.ts
@@ -127,6 +127,10 @@ export class IRCBridge {
127
await this.ircClient.join(channel);
128
const result = await this.executeCommand(`plumb ${roomId} ${this.config.serverName} ${channel}`);
129
const resultText = result.content.body;
130
+ if (resultText.match(/Room mapping already exists/)) {
131
+ // Already bridged
132
+ return;
133
+ }
134
if (resultText !== 'Room plumbed.') {
135
throw Error(`IRC bridge gave an error: ${resultText}`);
136
}
0 commit comments