summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'bridge')
-rw-r--r--bridge/irc/handlers.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/bridge/irc/handlers.go b/bridge/irc/handlers.go
index ce4f0445..1d260071 100644
--- a/bridge/irc/handlers.go
+++ b/bridge/irc/handlers.go
@@ -156,7 +156,10 @@ func (b *Birc) handleOtherAuth(client *girc.Client, event girc.Event) {
b.handleNickServ()
b.handleRunCommands()
// we are now fully connected
- b.connected <- nil
+ // only send on first connection
+ if b.FirstConnection {
+ b.connected <- nil
+ }
}
func (b *Birc) handlePrivMsg(client *girc.Client, event girc.Event) {