summaryrefslogtreecommitdiffstats
path: root/bridge/irc/irc.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/irc/irc.go')
-rw-r--r--bridge/irc/irc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go
index 4b7203c4..51842544 100644
--- a/bridge/irc/irc.go
+++ b/bridge/irc/irc.go
@@ -231,7 +231,7 @@ func (b *Birc) getClient() (*girc.Client, error) {
// fix strict user handling of girc
user := b.GetString("Nick")
for !girc.IsValidUser(user) {
- if len(user) == 1 {
+ if len(user) == 1 || len(user) == 0 {
user = "matterbridge"
break
}