Преглед изворни кода

this is related to https://github.com/fluffle/goirc/pull/71: common irc server behaviour is to reply with an empty +

tags/v0.1.0
John Soros пре 8 година
родитељ
комит
65539a593b
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1
    3
      irc/channel.go

+ 1
- 3
irc/channel.go Прегледај датотеку

105
 		str += mode.String()
105
 		str += mode.String()
106
 	}
106
 	}
107
 
107
 
108
-	if len(str) > 0 {
109
-		str = "+" + str
110
-	}
108
+	str = "+" + str
111
 
109
 
112
 	// args for flags with args: The order must match above to keep
110
 	// args for flags with args: The order must match above to keep
113
 	// positional arguments in place.
111
 	// positional arguments in place.

Loading…
Откажи
Сачувај