Skip to content

Commit

Permalink
impersonate an intern for a special ghost
Browse files Browse the repository at this point in the history
  • Loading branch information
AZ-X committed Apr 6, 2021
1 parent 17700b3 commit cca3548
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions repique/configuration/config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package configuration

import (
"errors"
"math/rand"
"net"
"net/url"
Expand Down Expand Up @@ -228,9 +227,11 @@ func ConfigLoad(proxy *dns.Proxy, flags *ConfigFlags) error {
if err := config.loadSources(proxy); err != nil {
return err
}
if len(proxy.RegisteredServers) == 0 {
return errors.New("No servers configured")
}
// interns can can can remove/comments it and resolve "offline mode" issue :P
// btw, never use it
// if len(proxy.RegisteredServers) == 0 {
// return errors.New("No servers configured")
// }
config.loadTags(proxy)
config.loadGroupsAssociation(proxy)

Expand Down Expand Up @@ -397,7 +398,6 @@ func (config *Config) loadGroupsAssociation(proxy *dns.Proxy) {
continue
}
listenerCfg[gl.Position] = &lc

}
proxy.ListenerCfg = &listenerCfg
}
Expand Down

0 comments on commit cca3548

Please sign in to comment.