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 97290d7 commit 450630dCopy full SHA for 450630d
src/IRCBridge.ts
@@ -134,6 +134,10 @@ export class IRCBridge {
134
await this.ircClient.join(channel);
135
const result = await this.executeCommand(`plumb ${roomId} ${this.config.serverName} ${channel}`);
136
const resultText = result.content.body;
137
+ if (resultText.match(/Room mapping already exists/)) {
138
+ // Already bridged
139
+ return;
140
+ }
141
if (resultText !== 'Room plumbed.') {
142
throw Error(`IRC bridge gave an error: ${resultText}`);
143
}
0 commit comments